Refactoring et mise en place des tests

This commit is contained in:
2017-02-11 11:51:01 +01:00
parent 24dbf2fe47
commit e58ab60bd8
9 changed files with 137 additions and 63 deletions

16
test/package_test.py Normal file
View 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()