From 7d1d33700d3dde4c06eaa931c689b3cdd41d0465 Mon Sep 17 00:00:00 2001 From: Michael Fenn Date: Wed, 9 Apr 2014 11:27:33 -0400 Subject: pep8 fixes --- src/lib/Bcfg2/Options/Options.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/Bcfg2/Options/Options.py b/src/lib/Bcfg2/Options/Options.py index 136511f41..11388fb4d 100644 --- a/src/lib/Bcfg2/Options/Options.py +++ b/src/lib/Bcfg2/Options/Options.py @@ -284,7 +284,6 @@ class Option(object): (self, parser)) - class PathOption(Option): """ Shortcut for options that expect a path argument. Uses :meth:`Bcfg2.Options.Types.path` to transform the argument into a -- cgit v1.2.3-1-g7c22 From 60b73c7d8da0d5bee9787f86b0b213178a433bd1 Mon Sep 17 00:00:00 2001 From: Michael Fenn Date: Wed, 9 Apr 2014 14:12:15 -0400 Subject: Tests: Call the syncdb function so that the database gets cleaned --- testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py index c9a982bb3..32766b5c1 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py @@ -278,6 +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._perform_tests() def test_allowed_cgroups(self): -- cgit v1.2.3-1-g7c22