Пример #1
0
 def test_shows_all_deployments(self):
     database = db()
     depls = []
     for i in range(10):
         depls.append(deployment.create_deployment(database))
     uuids = deployment.query_deployments(database)
     for depl in depls:
         tools.assert_true(any([depl.uuid == uuid for uuid in uuids]))
Пример #2
0
 def setup(self):
     self.depl = deployment.create_deployment(db())
     self.depl.auto_response = "y"