@classmethod
    def addResourceCleanUpStatic(cls, function, *args, **kwargs):
        tb = traceback.extract_stack(limit=2)
        cls._global_sequence = cls._global_sequence + 1
        cls._global_resource_trash_bin[cls._global_sequence] = (function,
                                                                args, kwargs,
                                                                tb[0])
        return cls._global_sequence
Adds CleanUp callable, used by tearDownClass.
dataset/ETHPy150Open openstack/ec2-api/ec2api/tests/functional/base.py/EC2TestCase.addResourceCleanUpStatic