diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-07 10:00:37 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-14 14:56:28 -0500 |
commit | ff0048a3a26c9076c8052a8c7be171e4364f0d09 (patch) | |
tree | 71d260915f46d65ae2794ab22dbe32181bd5d05f /testsuite | |
parent | 9d0e6991fc23c073efc0db6bf10e1081f6725e55 (diff) | |
download | bcfg2-ff0048a3a26c9076c8052a8c7be171e4364f0d09.tar.gz bcfg2-ff0048a3a26c9076c8052a8c7be171e4364f0d09.tar.bz2 bcfg2-ff0048a3a26c9076c8052a8c7be171e4364f0d09.zip |
moved common file locking code into Bcfg2.Utils
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py | 2 |
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 ab7123fa7..35847b2c2 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py @@ -327,7 +327,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') |