change test lauch
This commit is contained in:
parent
5f98a0a7bf
commit
c9742115d3
@ -1,15 +1 @@
|
||||
import unittest
|
||||
from . import base
|
||||
from . import api
|
||||
|
||||
|
||||
def suite():
|
||||
suite = unittest.TestSuite()
|
||||
suite.addTest(base.suite())
|
||||
suite.addTest(api.suite())
|
||||
return suite
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
runner = unittest.TextTestRunner()
|
||||
runner.run(suite())
|
||||
from .suite import suite
|
||||
|
7
tests/__main__.py
Normal file
7
tests/__main__.py
Normal file
@ -0,0 +1,7 @@
|
||||
import unittest
|
||||
from .suite import suite
|
||||
|
||||
if __name__ == "__main__":
|
||||
runner = unittest.TextTestRunner()
|
||||
runner.verbosity = 3
|
||||
runner.run(suite())
|
10
tests/suite.py
Normal file
10
tests/suite.py
Normal file
@ -0,0 +1,10 @@
|
||||
import unittest
|
||||
from . import base
|
||||
from . import api
|
||||
|
||||
|
||||
def suite():
|
||||
suite = unittest.TestSuite()
|
||||
suite.addTest(base.suite())
|
||||
suite.addTest(api.suite())
|
||||
return suite
|
Loading…
Reference in New Issue
Block a user