Commit e3716233 authored by Romain Courteaud's avatar Romain Courteaud

Transitions have been renamed.

See a9215903
parent 9996eddf
...@@ -33,8 +33,8 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin): ...@@ -33,8 +33,8 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin):
computer = self.portal.portal_catalog.getResultValue( computer = self.portal.portal_catalog.getResultValue(
uid=sequence['computer_uid']) uid=sequence['computer_uid'])
self.assertRaises(NotImplementedError, self.assertRaises(NotImplementedError,
computer.requestSoftwareReleaseInstallation, computer.requestSoftwareRelease,
software_release_url=sequence['software_release_uri']) software_release_url=sequence['software_release_uri'], state='available')
def stepSupplyComputerSoftwareReleaseDestroyed(self, sequence, **kw): def stepSupplyComputerSoftwareReleaseDestroyed(self, sequence, **kw):
self.slap = slap.slap() self.slap = slap.slap()
...@@ -49,8 +49,9 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin): ...@@ -49,8 +49,9 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin):
computer = self.portal.portal_catalog.getResultValue( computer = self.portal.portal_catalog.getResultValue(
uid=sequence['computer_uid']) uid=sequence['computer_uid'])
self.assertRaises(NotImplementedError, self.assertRaises(NotImplementedError,
computer.requestSoftwareReleaseCleanup, computer.requestSoftwareRelease,
software_release_url=sequence['software_release_uri']) software_release_url=sequence['software_release_uri'],
state='destroyed')
def test_Supply_supply(self): def test_Supply_supply(self):
sequence_list = SequenceList() sequence_list = SequenceList()
......
...@@ -763,8 +763,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -763,8 +763,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_release = self.portal.portal_catalog.getResultValue( software_release = self.portal.portal_catalog.getResultValue(
uid=sequence['software_release_uid']) uid=sequence['software_release_uid'])
computer.requestSoftwareReleaseInstallation( computer.requestSoftwareRelease(
software_release_url=software_release.getUrlString()) software_release_url=software_release.getUrlString(), state='available')
def _createComputer(self): def _createComputer(self):
# Mimics WebSection_registerNewComputer # Mimics WebSection_registerNewComputer
......
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