summaryrefslogtreecommitdiffstats
path: root/testsuite/common.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-29 10:21:12 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-29 15:22:33 -0400
commit6dd9756f7a87d5e875f5db02f306c7b906902a96 (patch)
tree81ab5e948e9b2449609e260628d5d14f63f5a6cf /testsuite/common.py
parentaec12296330b121fcb3fd038f85c0a4590be8ce4 (diff)
downloadbcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.tar.gz
bcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.tar.bz2
bcfg2-6dd9756f7a87d5e875f5db02f306c7b906902a96.zip
Plugins: refactored out unnecessary datastore constructor argument
Diffstat (limited to 'testsuite/common.py')
-rw-r--r--testsuite/common.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/common.py b/testsuite/common.py
index 04c446f67..49035a177 100644
--- a/testsuite/common.py
+++ b/testsuite/common.py
@@ -20,11 +20,6 @@ try:
except ImportError:
from unittest2 import skip, skipIf, skipUnless, TestCase
-#: The path to the Bcfg2 specification root for the tests. Using the
-#: root directory exposes a lot of potential problems with building
-#: paths.
-datastore = "/"
-
#: The XInclude namespace name
XI_NAMESPACE = "http://www.w3.org/2001/XInclude"
@@ -68,6 +63,12 @@ try:
except ImportError:
has_django = False
+#: The path to the Bcfg2 specification root for the tests. Using the
+#: root directory exposes a lot of potential problems with building
+#: paths.
+datastore = "/"
+
+set_setup_default("repository", datastore)
try:
from mock import call