Refactoring et mise en place des tests
This commit is contained in:
16
test/package_test.py
Normal file
16
test/package_test.py
Normal file
@ -0,0 +1,16 @@
|
||||
import unittest, os
|
||||
from importlib.machinery import SourceFileLoader
|
||||
|
||||
package = SourceFileLoader('package', os.path.dirname(__file__) + '/../package').load_module()
|
||||
|
||||
class TestPackage(unittest.TestCase):
|
||||
|
||||
def test_args_parser(self):
|
||||
parser = package.create_args_parser()
|
||||
|
||||
def test_download_and_extract_rkt(self):
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Reference in New Issue
Block a user