Beispiel #1
0
 def test_deployment_delete(self):
     deploy_one = db.deployment_create({})
     deploy_two = db.deployment_create({})
     db.deployment_delete(deploy_two['uuid'])
     deploys = db.deployment_list()
     self.assertEqual(len(deploys), 1)
     self.assertEqual(deploys[0]['uuid'], deploy_one['uuid'])
Beispiel #2
0
 def test_deployment_delete(self):
     deploy_one = db.deployment_create({})
     deploy_two = db.deployment_create({})
     db.deployment_delete(deploy_two['uuid'])
     deploys = db.deployment_list()
     self.assertEqual(len(deploys), 1)
     self.assertEqual(deploys[0]['uuid'], deploy_one['uuid'])
Beispiel #3
0
 def delete(self):
     db.deployment_delete(self.deployment['uuid'])
Beispiel #4
0
 def delete_by_uuid(uuid):
     db.deployment_delete(uuid)
 def delete(self):
     db.deployment_delete(self.deployment["uuid"])
Beispiel #6
0
 def delete(self):
     db.deployment_delete(self.deployment['uuid'])
Beispiel #7
0
 def delete_by_uuid(uuid):
     db.deployment_delete(uuid)
Beispiel #8
0
 def delete(self):
     db.deployment_delete(self.deployment["uuid"])