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