From f3bb5859e8846e53ea89afc6c10b11c4e4e7fdde Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 3 Sep 2013 08:58:17 -0400 Subject: testsuite: Skip Probes DB tests if django is not available --- testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite') 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 -- cgit v1.2.3-1-g7c22