add unit test for correct regex

This commit is contained in:
Rich Rauenzahn
2019-12-04 15:06:32 -08:00
committed by Anthony Sottile
parent 612a4b18cf
commit 3724c8f668

View File

@ -11,6 +11,10 @@ def test_main_one_fails():
assert ret == 1
def test_regex():
assert main(('foo_test_py',)) == 1
def test_main_django_all_pass():
ret = main((
'--django', 'tests.py', 'test_foo.py', 'test_bar.py',