def test_delete_collection_resources_with_only_one_resource_in_the_colection( self): mocking.add_delete_mapping_for(self.mock, "workflow") under_test = self.client.workflow.profiles response = under_test.delete("testmock", ['testmock:profile-1']) assert_that(response.status, 200) assert_that(response.resources, empty())
def test_delete(self): mocking.add_delete_mapping_for(self.mock, "workflow") under_test = self.client.workflow.profiles response = under_test.delete("testmock", "testmock:profile-1") assert_that(response.status, 200) assert_that(response.resources, empty())