Commit 9984876e authored by Łukasz Nowak's avatar Łukasz Nowak

Follow implementation change.

Now just requesting software installation on computer makes related SR
available immediately on computer.
parent 75e704d6
...@@ -28,6 +28,10 @@ class TestVifibSlapSoftwareReleaseDestroyed(TestVifibSlapWebServiceMixin): ...@@ -28,6 +28,10 @@ class TestVifibSlapSoftwareReleaseDestroyed(TestVifibSlapWebServiceMixin):
CheckNotFoundSoftwareReleaseDestroyedCall \ CheckNotFoundSoftwareReleaseDestroyedCall \
Tic \ Tic \
SlapLogout \ SlapLogout \
SlapLoginTestVifibAdmin \
SupplyComputerSoftwareReleaseDestroyed \
Tic \
SlapLogout \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
CheckSoftwareReleaseUnavailableForRequest \ CheckSoftwareReleaseUnavailableForRequest \
CheckSoftwareReleaseNotInPublicTable \ CheckSoftwareReleaseNotInPublicTable \
......
...@@ -251,6 +251,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -251,6 +251,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_release_url=sequence['software_release_uri'], software_release_url=sequence['software_release_uri'],
free_for_request=1)[0][0] free_for_request=1)[0][0]
def stepCheckSoftwareReleaseAvailableForRequest(self, sequence, **kw):
self.assertNotEqual(0, self._getRequestBasedComputerPartitionCount(sequence))
def stepCheckSoftwareReleaseUnavailableForRequest(self, sequence, **kw): def stepCheckSoftwareReleaseUnavailableForRequest(self, sequence, **kw):
self.assertEqual(0, self._getRequestBasedComputerPartitionCount(sequence)) self.assertEqual(0, self._getRequestBasedComputerPartitionCount(sequence))
...@@ -961,7 +964,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -961,7 +964,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
prepare_published_software_release + prepare_formated_computer + \ prepare_published_software_release + prepare_formated_computer + \
prepare_supply_software_release + '\ prepare_supply_software_release + '\
LoginDefaultUser \ LoginDefaultUser \
CheckSoftwareReleaseUnavailableForRequest \ CheckSoftwareReleaseAvailableForRequest \
Logout' Logout'
prepare_installed_software_release_sequence_string = \ prepare_installed_software_release_sequence_string = \
......
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