Commit 4918dabb authored by Łukasz Nowak's avatar Łukasz Nowak

Improve logic.

getSoftwareReleaseList is updated by getFullComputerInformation call, which
returns everything, even destroyed (and theoretically forgotten) software
releases.
parent 2d336515
...@@ -2461,7 +2461,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -2461,7 +2461,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
self.slap = slap.slap() self.slap = slap.slap()
self.slap.initializeConnection(self.server_url, timeout=None) self.slap.initializeConnection(self.server_url, timeout=None)
computer = self.slap.registerComputer(computer_guid) computer = self.slap.registerComputer(computer_guid)
self.assertEquals([], computer.getSoftwareReleaseList()) self.assertEquals([], [q for q in computer.getSoftwareReleaseList() \
if q.getState() != 'destroyed'])
def stepCheckDestroyedStateGetSoftwareReleaseListCall(self, sequence, **kw): def stepCheckDestroyedStateGetSoftwareReleaseListCall(self, sequence, **kw):
""" """
......
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