Skip to content

Commit

Permalink
skip call_command test with group bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Mar 14, 2024
1 parent bb5fabb commit 6f53751
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions django_typer/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2853,8 +2853,20 @@ def test_call_with_option_prompt(self):
"test_flag bckohan test_password4",
)

# this doesn't work!
# self.assertEqual(
# call_command('prompt', '--no-color', 'group1', 'cmd4', 'bckohan', flag='test_flag', password='test_password4'),
# 'test_flag bckohan test_password4'
# )
@pytest.mark.skip()
def test_call_group_with_prompt_value(self):
"""
This is a bug!
"""
self.assertEqual(
call_command(
"prompt",
"--no-color",
"group1",
"cmd4",
"bckohan",
flag="test_flag",
password="test_password4",
),
"test_flag bckohan test_password4",
)

0 comments on commit 6f53751

Please sign in to comment.