Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import unittest2 as unittest
except ImportError:
import unittest
from tests import maintest
from tests import deprecationtest

class RunTests(Command):

Expand All @@ -30,8 +28,9 @@ def run(self):
print('╰─────────────────────────────────────╯')
else:
print('Test Start')
import tests
testSuite = unittest.TestSuite(tests.testsuite())
from tests import maintest
from tests import deprecationtest
testSuite = unittest.TestSuite(testsuite())
runner = unittest.TextTestRunner(verbosity=2)
results = runner.run(testSuite)
sys.exit(0 if results.wasSuccessful() else 1)
Expand Down