summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-29 09:41:39 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-29 09:55:17 +0200
commit719794bb060cd1d3faa52c3eea2e03207e247cc7 (patch)
tree46272d8582734cbac0374bf4c5d2044a5103f6d8 /dev-util/rbtools
parentdev-python/python-dbusmock: Bump to 0.24.0 (diff)
downloadgentoo-719794bb060cd1d3faa52c3eea2e03207e247cc7.tar.gz
gentoo-719794bb060cd1d3faa52c3eea2e03207e247cc7.tar.bz2
gentoo-719794bb060cd1d3faa52c3eea2e03207e247cc7.zip
dev-util/rbtools: fix tests
Run tests against an installed version to ensure the CLI tests work as expected. Closes: https://bugs.gentoo.org/809476 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/rbtools')
-rw-r--r--dev-util/rbtools/rbtools-2.0.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/rbtools/rbtools-2.0.1.ebuild b/dev-util/rbtools/rbtools-2.0.1.ebuild
index 4a077b612df6..7baa5961051d 100644
--- a/dev-util/rbtools/rbtools-2.0.1.ebuild
+++ b/dev-util/rbtools/rbtools-2.0.1.ebuild
@@ -45,3 +45,8 @@ src_prepare() {
# Avoid tests requiring unpackaged test data
rm -f rbtools/clients/tests/test_scanning.py || die
}
+
+python_test() {
+ distutils_install_for_testing
+ distutils-r1_python_test
+}