def test_will_not_purge_with_wrong_name(self):
        self.assertRaises(exception.ApiError,
                          instance_types.purge,
                          self._nonexistent_flavor_name())
Returns a Predicate that catches strings
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_instance_types.py/InstanceTypeTestCase.test_will_not_purge_with_wrong_name--crossover with--dataset/ETHPy150Open machinalis/quepy/quepy/parsing.py/Poss