summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-04-09 19:59:24 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-11 14:15:28 -0400
commit8f4baacec963dd301ca4a21fd661988d12d6763e (patch)
treeaca827c406adef3e0a5b83efd576c2bc7384cd41 /meta-openstack/recipes-devtools/python/python-swiftclient_git.bb
parent322d51de8417142c6ffbf024b198b26069a53f46 (diff)
downloadmeta-cloud-services-8f4baacec963dd301ca4a21fd661988d12d6763e.tar.gz
swiftclient: add tests
Introduce swiftclient test package which contains all Swiftclient unit tests. Swiftclient unit tests can be run as: $ cd /usr/lib64/python2.7/site-packages/swiftclient $ nosetests -v tests Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-swiftclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-swiftclient_git.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb
index 1e13b04..15a8d8a 100644
--- a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb
@@ -5,6 +5,7 @@ LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
6 6
7PR = "r0" 7PR = "r0"
8SRCNAME = "swiftclient"
8 9
9SRC_URI = "git://github.com/openstack/python-swiftclient.git;branch=master" 10SRC_URI = "git://github.com/openstack/python-swiftclient.git;branch=master"
10 11
@@ -12,7 +13,11 @@ PV="2.0.2+git${SRCPV}"
12SRCREV="fa65fbbce51a7a603a6453da51db41061e4388f9" 13SRCREV="fa65fbbce51a7a603a6453da51db41061e4388f9"
13S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
14 15
15inherit setuptools 16inherit setuptools python-dir
17
18do_install_append() {
19 cp -r tests ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/
20}
16 21
17DEPENDS += " \ 22DEPENDS += " \
18 python-pip \ 23 python-pip \