summaryrefslogtreecommitdiffstats
path: root/testsuite/Testlib/TestServer/TestPlugin.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-20 17:26:22 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-21 13:33:20 -0400
commitd0efac8fde1f2bfc77b45899073c225201c64a2c (patch)
tree43e6cc017172b4da3b0145a7a7a3b2270a17c012 /testsuite/Testlib/TestServer/TestPlugin.py
parent0fd2d233f460fa868a62726c37a30ae06f1b0797 (diff)
downloadbcfg2-d0efac8fde1f2bfc77b45899073c225201c64a2c.tar.gz
bcfg2-d0efac8fde1f2bfc77b45899073c225201c64a2c.tar.bz2
bcfg2-d0efac8fde1f2bfc77b45899073c225201c64a2c.zip
attempt to get tests working under python 2.6
Diffstat (limited to 'testsuite/Testlib/TestServer/TestPlugin.py')
-rw-r--r--testsuite/Testlib/TestServer/TestPlugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testlib/TestServer/TestPlugin.py b/testsuite/Testlib/TestServer/TestPlugin.py
index 1f2f236dd..d59b19a32 100644
--- a/testsuite/Testlib/TestServer/TestPlugin.py
+++ b/testsuite/Testlib/TestServer/TestPlugin.py
@@ -135,7 +135,7 @@ class TestPlugin(TestDebuggable):
class TestDatabaseBacked(TestPlugin):
test_obj = DatabaseBacked
- @unittest.skipUnless(has_django, "Django not found")
+ @skipUnless(has_django, "Django not found")
def test__use_db(self):
core = Mock()
core.setup.cfp.getboolean.return_value = True