summaryrefslogtreecommitdiff
path: root/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild')
-rw-r--r--dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild31
1 files changed, 17 insertions, 14 deletions
diff --git a/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild b/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild
index 2d997d074309..4fa8e2fa830d 100644
--- a/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild
+++ b/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild
@@ -32,21 +32,24 @@ RDEPEND="
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
"
-# Tests disabled as it depends on dev-python/stestr which is masked for removal
-#BDEPEND="
-# test? (
-# >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}]
-# >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
-# >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
-# >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
-# >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
-# >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}]
-# >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
-# >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}]
-# )
-#"
+BDEPEND="
+ test? (
+ >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
-# distutils_enable_tests unittest
+src_prepare() {
+ # This test requires tempest which has been removed.
+ rm --force manilaclient/tests/unit/test_functional_utils.py
+ distutils-r1_src_prepare
+}
python_test() {
# The functional tests would requier the OpenStack manila service to be