Skip to content

Commit 480f361

Browse files
committed
fixup! Run tests in the same order as Django
1 parent 3d8ed48 commit 480f361

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/test_db_setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ def test_run_first_fixture(db):
5252
def test_run_first_decorator():
5353
pass
5454
''')
55-
result = django_testdir.runpytest('-vv', '-s')
55+
result = django_testdir.runpytest('-v', '-s')
56+
assert result.ret == 0
5657
result.stdout.fnmatch_lines([
57-
"*test_run_first_fixture PASSED*",
58-
"*test_run_first_decorator PASSED*",
59-
"*test_run_second_decorator PASSED*",
60-
"*test_run_second_fixture PASSED*",
58+
"*test_run_first_fixture*",
59+
"*test_run_first_decorator*",
60+
"*test_run_second_decorator*",
61+
"*test_run_second_fixture*",
6162
])
6263

6364

0 commit comments

Comments
 (0)