Skip to content

Commit 6f53751

Browse files
committed
skip call_command test with group bug
1 parent bb5fabb commit 6f53751

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

django_typer/tests/tests.py

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,8 +2853,20 @@ def test_call_with_option_prompt(self):
28532853
"test_flag bckohan test_password4",
28542854
)
28552855

2856-
# this doesn't work!
2857-
# self.assertEqual(
2858-
# call_command('prompt', '--no-color', 'group1', 'cmd4', 'bckohan', flag='test_flag', password='test_password4'),
2859-
# 'test_flag bckohan test_password4'
2860-
# )
2856+
@pytest.mark.skip()
2857+
def test_call_group_with_prompt_value(self):
2858+
"""
2859+
This is a bug!
2860+
"""
2861+
self.assertEqual(
2862+
call_command(
2863+
"prompt",
2864+
"--no-color",
2865+
"group1",
2866+
"cmd4",
2867+
"bckohan",
2868+
flag="test_flag",
2869+
password="test_password4",
2870+
),
2871+
"test_flag bckohan test_password4",
2872+
)

0 commit comments

Comments
 (0)