summaryrefslogtreecommitdiffhomepage
path: root/tests/component/rpm
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-12-02 20:46:40 +0100
committerGuido Günther <agx@sigxcpu.org>2015-12-02 20:47:02 +0100
commit3185e5acd91ed659d6dac74b1291d2dfbe31ee7f (patch)
treeb9f8fa6dc0396965b428df3db769f99b7b2ea668 /tests/component/rpm
parentbcc111def92598c0d6093c8a973b552707d7e544 (diff)
Skip rpm component tests if unavailable
Diffstat (limited to 'tests/component/rpm')
-rw-r--r--tests/component/rpm/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/component/rpm/__init__.py b/tests/component/rpm/__init__.py
index c44c81b3..9936673e 100644
--- a/tests/component/rpm/__init__.py
+++ b/tests/component/rpm/__init__.py
@@ -33,6 +33,9 @@ from tests.component import ComponentTestBase, ComponentTestGitRepository
RPM_TEST_DATA_SUBMODULE = os.path.join('tests', 'component', 'rpm', 'data')
RPM_TEST_DATA_DIR = os.path.abspath(RPM_TEST_DATA_SUBMODULE)
+def setup():
+ """Test Module setup"""
+ ComponentTestGitRepository.check_testdata(RPM_TEST_DATA_SUBMODULE)
class RpmRepoTestBase(ComponentTestBase):
"""Baseclass for tests run in a Git repository with packaging data"""