Commit 3f25be50 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow registerComputerPartition sending synchronised partition.

parent 141a7046
...@@ -1939,6 +1939,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -1939,6 +1939,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
self.assertTrue('value' in server_xml) self.assertTrue('value' in server_xml)
# check that returned dict has no change # check that returned dict has no change
REMOTE_USER = software_instance.getReference() REMOTE_USER = software_instance.getReference()
# re-register the partition, in order to re-read data from server
# as registerComputerPartition sends immediately synchronised computer
# partition, it is required to re-fetch it
slap_computer_partition = self.slap.registerComputerPartition(
computer.getReference(), computer_partition.getReference())
self.assertEqual('value', self.assertEqual('value',
slap_computer_partition.getConnectionParameter('parameter')) slap_computer_partition.getConnectionParameter('parameter'))
......
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