def test_delete_remove_object(self): obj = self.test_create_over_api() obj.delete() assert not Cluster.exists(self.namespace, obj.id)
def test_exists(self, cluster): assert not Cluster.exists(cluster._object_namespace, cluster.id) cluster.save() assert Cluster.exists(cluster._object_namespace, cluster.id)
def test_exists(self, cluster): assert not Cluster.exists(cluster.id) cluster.save() assert Cluster.exists(cluster.id)