Exemplo n.º 1
0
 def test_object_name(self):
     status1 = Status()
     status2 = Status()
     status1.add_artifact("foobar", "0.1.0")
     status1.add_artifact("moo", "0.2.0")
     self.failUnless(status2.is_deployed("foobar", "0.1.0"))
     self.failUnless(status2.is_deployed("moo", "0.2.0"))
Exemplo n.º 2
0
 def test_object_name(self):
     status1 = Status()
     status2 = Status()
     status1.add_artifact("foobar", "0.1.0")
     status1.add_artifact("moo", "0.2.0")
     self.failUnless(status2.is_deployed("foobar", "0.1.0"))
     self.failUnless(status2.is_deployed("moo", "0.2.0"))
Exemplo n.º 3
0
 def test_is_deployed(self):
     status = Status()
     name = "foobar"
     version = "1.0"
     status.add_artifact(name, version)
     self.assertTrue(status.is_deployed(name, version))
Exemplo n.º 4
0
 def test_is_deployed(self):
     status = Status()
     name = "foobar"
     version = "1.0"
     status.add_artifact(name, version)
     self.assertTrue(status.is_deployed(name, version))