def test_postponing_operations_for_delete(self): postponing_operations = coordinator.get_postponing_operations( dispatch_constants.RESOURCE_DELETE_OPERATION) self.assertTrue(dispatch_constants.RESOURCE_CREATE_OPERATION in postponing_operations) self.assertTrue(dispatch_constants.RESOURCE_READ_OPERATION in postponing_operations) self.assertTrue(dispatch_constants.RESOURCE_UPDATE_OPERATION in postponing_operations) self.assertFalse(dispatch_constants.RESOURCE_DELETE_OPERATION in postponing_operations)
def test_postponing_operations_for_delete(self): postponing_operations = coordinator.get_postponing_operations(dispatch_constants.RESOURCE_DELETE_OPERATION) self.assertTrue(dispatch_constants.RESOURCE_CREATE_OPERATION in postponing_operations) self.assertTrue(dispatch_constants.RESOURCE_READ_OPERATION in postponing_operations) self.assertTrue(dispatch_constants.RESOURCE_UPDATE_OPERATION in postponing_operations) self.assertFalse(dispatch_constants.RESOURCE_DELETE_OPERATION in postponing_operations)