summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-08-07 09:27:26 +0200
committerOle Troan <ot@cisco.com>2018-08-07 11:47:35 +0200
commit1d20f4748ccbf9d5ae3a7a0957d323d1b9f55d35 (patch)
treec77d81137dcf2742d273bc9bcf71e5ca3eda632f /src/vpp-api/python
parenta88c916e5dfb65ccfbe7efc3e0df7db8dac73e78 (diff)
PAPI: Move unit tests to fix packaging issues.
Change-Id: I67a0f168254367c657eb11d4413f9dc0c5356b3c Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp-api/python')
-rw-r--r--src/vpp-api/python/setup.py4
-rw-r--r--src/vpp-api/python/vpp_papi/tests/__init__.py (renamed from src/vpp-api/python/tests/__init__.py)0
-rwxr-xr-xsrc/vpp-api/python/vpp_papi/tests/test_vpp_serializer.py (renamed from src/vpp-api/python/tests/test_vpp_serializer.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/python/setup.py b/src/vpp-api/python/setup.py
index 130967f79f1..0d8c149679e 100644
--- a/src/vpp-api/python/setup.py
+++ b/src/vpp-api/python/setup.py
@@ -18,13 +18,13 @@ except ImportError:
from distutils.core import setup, find_packages
setup(name='vpp_papi',
- version='1.6',
+ version='1.6.1',
description='VPP Python binding',
author='Ole Troan',
author_email='ot@cisco.com',
url='https://wiki.fd.io/view/VPP/Python_API',
license='Apache-2.0',
- test_suite='tests',
+ test_suite='vpp_papi.tests',
# Add when we don't need to support 2.7.5
# 'enum34;python_version<"3.4"'],
install_requires=['cffi >= 1.6', 'enum34'],
diff --git a/src/vpp-api/python/tests/__init__.py b/src/vpp-api/python/vpp_papi/tests/__init__.py
index e69de29bb2d..e69de29bb2d 100644
--- a/src/vpp-api/python/tests/__init__.py
+++ b/src/vpp-api/python/vpp_papi/tests/__init__.py
diff --git a/src/vpp-api/python/tests/test_vpp_serializer.py b/src/vpp-api/python/vpp_papi/tests/test_vpp_serializer.py
index 9fee161684d..9fee161684d 100755
--- a/src/vpp-api/python/tests/test_vpp_serializer.py
+++ b/src/vpp-api/python/vpp_papi/tests/test_vpp_serializer.py