mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
Simple test runner that discovers tests.
This commit is contained in:
parent
28f243d50a
commit
22b00a4a62
1 changed files with 8 additions and 0 deletions
8
run_tests.py
Normal file
8
run_tests.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import unittest
|
||||
|
||||
# Runs all tests found in filenames matching "test*""
|
||||
if __name__ == '__main__':
|
||||
test_loader = unittest.defaultTestLoader
|
||||
test_runner = unittest.TextTestRunner()
|
||||
test_suite = test_loader.discover('.')
|
||||
test_runner.run(test_suite)
|
Loading…
Add table
Add a link
Reference in a new issue