Beispiel #1
0
 def receiver2_fail_in_delete_internal_tip(self):
     try:
         yield tip.delete_internal_tip(self.receiver2_desc['receiver_gus'],
                                 self.rtip2_id)
         self.assertTrue(False)
     except errors.ForbiddenOperation:
         self.assertTrue(True)
     except Exception, e:
         self.assertTrue(False)
         raise e
Beispiel #2
0
    def receiver1_total_delete_tip(self):

        yield tip.delete_internal_tip(self.receiver1_desc['receiver_gus'],
            self.rtip1_id)

        try:
            # just one operation that fail if iTip is invalid
            yield tip.get_internaltip_receiver(
                        self.receiver1_desc['receiver_gus'], self.rtip1_id)
            self.assertTrue(False)
        except errors.TipGusNotFound:
            self.assertTrue(True)
        except Exception, e:
            self.assertTrue(False)
            raise e