Commit 20574d42 authored by Łukasz Nowak's avatar Łukasz Nowak

Setup correct responsible.

If no data are set the entry is provided by SlapOS Master.
parent 613bdeee
......@@ -589,12 +589,11 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>text</string>
<string>#error no data found for %(computer_id)s</string>
<string>user</string>
<string>%(computer_id)s</string>
<string>SlapOS Master</string>
</dictionary>
</marshal>
""" % dict(
created_at=created_at,
computer_id=self.computer_id
)
self.assertEqual(expected_xml, got_xml,
'\n'.join([q for q in difflib.unified_diff(expected_xml.split('\n'), got_xml.split('\n'))]))
......@@ -821,7 +820,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>text</string>
<string>#error no data found for %(instance_guid)s</string>
<string>user</string>
<string>%(instance_guid)s</string>
<string>SlapOS Master</string>
</dictionary>
</marshal>
""" % dict(
......
137
\ No newline at end of file
138
\ No newline at end of file
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