def test_transactional_get_or_create(self, client): task = snippets.transactional_get_or_create(client) client.entities_to_delete.append(task) assert task