summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-07-20 12:55:42 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-07-20 12:55:42 -0500
commit491fedee8eedbfae39b5b7cc761bbae69d9d3083 (patch)
tree59828cc0cb6ed2a4d0686739b61ff900d31fdac0
parent15de42173b0ebab86f04a933b525b57a625f5fa7 (diff)
downloadbcfg2-491fedee8eedbfae39b5b7cc761bbae69d9d3083.tar.gz
bcfg2-491fedee8eedbfae39b5b7cc761bbae69d9d3083.tar.bz2
bcfg2-491fedee8eedbfae39b5b7cc761bbae69d9d3083.zip
testsuite: Add parser
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-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: