| commit | 3724c8f668b0c06a0d231d807ad3f90c6c89730d | [log] [tgz] |
|---|---|---|
| author | Rich Rauenzahn <rrauenza@gmail.com> | Wed Dec 04 15:06:32 2019 -0800 |
| committer | Anthony Sottile <asottile@umich.edu> | Wed Dec 04 15:13:29 2019 -0800 |
| tree | e55d37eb6c5060ab468ee7f38e81e72926878dce | |
| parent | 612a4b18cf943fdd01c64087b7c044e4ea61c71b [diff] [blame] |
add unit test for correct regex
diff --git a/tests/tests_should_end_in_test_test.py b/tests/tests_should_end_in_test_test.py index 2acfa17..4df2963 100644 --- a/tests/tests_should_end_in_test_test.py +++ b/tests/tests_should_end_in_test_test.py
@@ -11,6 +11,10 @@ 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',