Beispiel #1
0
    def test_delete_remove_object(self):
        obj = self.test_create_over_api()
        obj.delete()

        assert not Cluster.exists(self.namespace, obj.id)
Beispiel #2
0
    def test_exists(self, cluster):
        assert not Cluster.exists(cluster._object_namespace, cluster.id)

        cluster.save()
        assert Cluster.exists(cluster._object_namespace, cluster.id)
Beispiel #3
0
 def test_exists(self, cluster):
     assert not Cluster.exists(cluster.id)
     cluster.save()
     assert Cluster.exists(cluster.id)