Skip to content

Commit 3724c8f

Browse files
rrauenzaasottile
authored andcommitted
add unit test for correct regex
1 parent 612a4b1 commit 3724c8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/tests_should_end_in_test_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def test_main_one_fails():
1111
assert ret == 1
1212

1313

14+
def test_regex():
15+
assert main(('foo_test_py',)) == 1
16+
17+
1418
def test_main_django_all_pass():
1519
ret = main((
1620
'--django', 'tests.py', 'test_foo.py', 'test_bar.py',

0 commit comments

Comments
 (0)