diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-09-03 08:58:17 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-09-03 08:58:17 -0400 |
commit | f3bb5859e8846e53ea89afc6c10b11c4e4e7fdde (patch) | |
tree | 9bf025bbbe582669db5a077d007eb66c7d9ea1cb /testsuite/Testsrc/Testlib/TestServer/TestPlugins | |
parent | e712ffa26c7d46cc2ef83f4816016bc68cd51a3a (diff) | |
download | bcfg2-f3bb5859e8846e53ea89afc6c10b11c4e4e7fdde.tar.gz bcfg2-f3bb5859e8846e53ea89afc6c10b11c4e4e7fdde.tar.bz2 bcfg2-f3bb5859e8846e53ea89afc6c10b11c4e4e7fdde.zip |
testsuite: Skip Probes DB tests if django is not available
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugins')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py index bbaa0f403..4830f9f2f 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py @@ -269,6 +269,7 @@ group: group:with:colons Bcfg2.Options.setup.probes_db = False self._perform_tests() + @skipUnless(HAS_DJANGO, "Django not found") def test_probes_db(self): """ Set and retrieve probe data with database enabled """ Bcfg2.Options.setup.probes_db = True |