diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-07-20 12:55:42 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-07-20 12:55:42 -0500 |
commit | 491fedee8eedbfae39b5b7cc761bbae69d9d3083 (patch) | |
tree | 59828cc0cb6ed2a4d0686739b61ff900d31fdac0 | |
parent | 15de42173b0ebab86f04a933b525b57a625f5fa7 (diff) | |
download | bcfg2-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.py | 2 |
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: |