summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-09-05 17:34:34 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-09-05 17:34:34 +0200
commit7be65237acd7fe91a6693d9c2518a8a0c849d672 (patch)
tree781a7134fac0b482f2311a3df7427b610827953d /testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
parent7586aee42bc37432ad07638e254997540aa34007 (diff)
downloadbcfg2-7be65237acd7fe91a6693d9c2518a8a0c849d672.tar.gz
bcfg2-7be65237acd7fe91a6693d9c2518a8a0c849d672.tar.bz2
bcfg2-7be65237acd7fe91a6693d9c2518a8a0c849d672.zip
testsuite: Only sync the database once per TestCase
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
index 32766b5c1..07d624b29 100644
--- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
+++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
@@ -278,7 +278,7 @@ group: group:with:colons
def test_probes_db(self):
""" Set and retrieve probe data with database enabled """
Bcfg2.Options.setup.probes_db = True
- syncdb(TestProbesDB)
+ self.syncdb(TestProbesDB)
self._perform_tests()
def test_allowed_cgroups(self):