Exemple #1
0
 def status(self):
     """Returns current state of Env that was fetched from DB."""
     return db.env_get_status(self.uuid)
Exemple #2
0
 def status(self):
     """Returns current state of Env that was fetched from DB."""
     return db.env_get_status(self.uuid)
Exemple #3
0
 def test_env_get_status(self):
     env = db.env_create("name", "STATUS42", "descr", {}, {}, {}, [])
     self.assertEqual("STATUS42", db.env_get_status(env["uuid"]))
Exemple #4
0
 def test_env_get_status(self):
     env = db.env_create("name", "STATUS42", "descr", {}, {}, {}, [])
     self.assertEqual("STATUS42", db.env_get_status(env["uuid"]))