Skip to content

Commit

Permalink
try fix help tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jan 27, 2024
1 parent 03679a9 commit 7d30cbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django_typer/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,10 @@ def test_verbosity(self):


class TestHelpPrecedence(TestCase):

def test_help_precedence1(self):
buffer = StringIO()
cmd = get_command("help_precedence1", stdout=buffer, no_color=True)
cmd = get_command("help_precedence1", no_color=True, stdout=buffer)
cmd.print_help("./manage.py", "help_precedence1")
self.assertTrue(
re.search(
Expand Down

0 comments on commit 7d30cbc

Please sign in to comment.