Handling default django test filename of "tests.py"

This commit is contained in:
Oliver Zhou 2017-03-15 00:40:53 -07:00
parent c847dd3f2e
commit c380d0b3e3
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ def test_validate_files_one_fails():
def test_validate_files_django_all_pass():
ret = validate_files(['--django', 'test_foo.py', 'test_bar.py', 'tests/test_baz.py'])
ret = validate_files(['--django', 'tests.py', 'test_foo.py', 'test_bar.py', 'tests/test_baz.py'])
assert ret == 0