Commit d5d08bf5 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

slapos_jio_api_style: Fix test by updating revision

parent abd3cf8c
...@@ -1288,6 +1288,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJIOAPIMixin): ...@@ -1288,6 +1288,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJIOAPIMixin):
def test_31_getInstanceWithSharedInstance(self, with_slave=True): def test_31_getInstanceWithSharedInstance(self, with_slave=True):
self._makeComplexComputeNode(person=self.person, with_slave=with_slave) self._makeComplexComputeNode(person=self.person, with_slave=with_slave)
self.callUpdateRevisionAndTic()
instance = self.start_requested_software_instance instance = self.start_requested_software_instance
self.login(self.person_user_id) self.login(self.person_user_id)
instance_dict = self.getToApi({ instance_dict = self.getToApi({
...@@ -1493,6 +1494,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJIOAPIMixin): ...@@ -1493,6 +1494,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSJIOAPIMixin):
self._makeComplexComputeNode(person=self.person) self._makeComplexComputeNode(person=self.person)
instance = self.start_requested_software_instance instance = self.start_requested_software_instance
instance.updateLocalRolesOnSecurityGroups() instance.updateLocalRolesOnSecurityGroups()
self.callUpdateRevision()
self.tic() self.tic()
self.login(self.person_user_id) self.login(self.person_user_id)
instance_dict = self.postToApi({ instance_dict = self.postToApi({
......
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