summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/Testlib/TestServer/TestPlugins/TestMetadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testlib/TestServer/TestPlugins/TestMetadata.py b/testsuite/Testlib/TestServer/TestPlugins/TestMetadata.py
index 124474e58..8ea54a1e8 100644
--- a/testsuite/Testlib/TestServer/TestPlugins/TestMetadata.py
+++ b/testsuite/Testlib/TestServer/TestPlugins/TestMetadata.py
@@ -214,7 +214,7 @@ class TestXMLMetadataConfig(unittest.TestCase):
config.extras = ["foo.xml", "bar.xml", "clients.xml"]
- def parse_side_effect(fname):
+ def parse_side_effect(fname, parser=Bcfg2.Server.XMLParser):
if fname == os.path.join(self.metadata.data, "clients.xml"):
return clients_test_tree
else: