Commit c6e4fbe5 authored by Romain Courteaud's avatar Romain Courteaud

libslap compat

parent 6e576f4b
...@@ -261,7 +261,7 @@ class TestSlapOSSlapToolComputeNodeAccess(TestSlapOSSlapToolMixin): ...@@ -261,7 +261,7 @@ class TestSlapOSSlapToolComputeNodeAccess(TestSlapOSSlapToolMixin):
got_xml = xml_fp.read() got_xml = xml_fp.read()
expected_xml = """<?xml version='1.0' encoding='UTF-8'?> expected_xml = """<?xml version='1.0' encoding='UTF-8'?>
<marshal> <marshal>
<object id='i2' module='slapos.slap.slap' class='Compute Node'> <object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple> <tuple>
<string>%(compute_node_id)s</string> <string>%(compute_node_id)s</string>
</tuple> </tuple>
...@@ -1172,7 +1172,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin): ...@@ -1172,7 +1172,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
expected_xml = """\ expected_xml = """\
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<marshal> <marshal>
<object id='i2' module='slapos.slap.slap' class='Compute Node'> <object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple> <tuple>
<string>%(compute_node_id)s</string> <string>%(compute_node_id)s</string>
</tuple> </tuple>
...@@ -3268,7 +3268,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin): ...@@ -3268,7 +3268,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
expected_xml = """\ expected_xml = """\
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<marshal> <marshal>
<object id='i2' module='slapos.slap.slap' class='Compute Node'> <object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple> <tuple>
<string>%(compute_node_id)s</string> <string>%(compute_node_id)s</string>
</tuple> </tuple>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment