added first unittest for osaca

This commit is contained in:
Jan Laukemann
2017-10-11 21:08:23 +02:00
parent 16cfaad4cb
commit 1d9c629353
6 changed files with 89 additions and 21 deletions

16
tests/all_tests.py Executable file
View File

@@ -0,0 +1,16 @@
#!/usr//bin/env python
import sys
import unittest
sys.path[0:0] = ['.', '..']
suite = unittest.TestLoader().loadTestsFromNames(
[
'test_osaca'
]
)
testresult = unittest.TextTestRunner(verbosity=2).run(suite)
sys.exit(0 if testresult.wasSuccessful() else 1)