summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-07 10:00:37 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-14 15:12:20 -0500
commitfd67a2735ada342251cb6baaa4e678532566e975 (patch)
tree1f3f37ccacb853cf500243cd02d7a87b27022e14 /testsuite
parent9bec4d6bbab599bee72256c7e09fe214cb849a1b (diff)
downloadbcfg2-fd67a2735ada342251cb6baaa4e678532566e975.tar.gz
bcfg2-fd67a2735ada342251cb6baaa4e678532566e975.tar.bz2
bcfg2-fd67a2735ada342251cb6baaa4e678532566e975.zip
moved common file locking code into Bcfg2.Utils
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
index 9f1e73541..2697df292 100644
--- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
+++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
@@ -328,7 +328,7 @@ class TestXMLMetadataConfig(TestXMLFileBacked):
"clients.xml"),
"<test/>")
- @patch('Bcfg2.Server.Plugins.Metadata.locked', Mock(return_value=False))
+ @patch('Bcfg2.Utils.locked', Mock(return_value=False))
@patch('fcntl.lockf', Mock())
@patch('os.open')
@patch('os.fdopen')