aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cli
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-03-22 20:39:04 +0800
committerLianhao Lu <lianhao.lu@intel.com>2018-03-22 20:54:00 +0800
commit7676ca5e12557f72226fac162e5f1530964906cb (patch)
tree8659c0036c8dbbdeca02d186ec28f37b87fec401 /tests/cli
parentc3fe9827d9357f5fa2a62f6f0965ad40106a5aad (diff)
Adjusted for pypi support
We need to adjust the python module structure meet the pypi requirements. This has been tested on test pypi https://test.pypi.org/project/vnfsdk. 1. move 3 directories cli/ validator/ packager/ into vnfsdk_pkgtools. so now the python module for vnfsdk pkgtools would be "vnfsdk_pkgtool.*" 2. Added missing README.rst, LICENSE.txt according to pypi requirement. 3. Added new version mechanism accroding onap community suggestions. 4. Other clean sweep job like dos2unix. Change-Id: If90df33673bff045d85d67c29a1d0ab44d0c8858 Issue-ID: VNFSDK-143 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tests/cli')
-rw-r--r--tests/cli/test_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py
index 0be9ec6..b3fb8f0 100644
--- a/tests/cli/test_cli.py
+++ b/tests/cli/test_cli.py
@@ -15,7 +15,7 @@
#
import pytest
-from cli import __main__
+from vnfsdk_pkgtools.cli import __main__
def test_main(capsys):
with pytest.raises(SystemExit):