コード例 #1
0
ファイル: test_status.py プロジェクト: WizeCommerce/medusa
 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"))
コード例 #2
0
ファイル: test_status.py プロジェクト: safaci2000/medusa
 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"))
コード例 #3
0
ファイル: test_status.py プロジェクト: WizeCommerce/medusa
 def test_is_deployed(self):
     status = Status()
     name = "foobar"
     version = "1.0"
     status.add_artifact(name, version)
     self.assertTrue(status.is_deployed(name, version))
コード例 #4
0
ファイル: test_status.py プロジェクト: safaci2000/medusa
 def test_is_deployed(self):
     status = Status()
     name = "foobar"
     version = "1.0"
     status.add_artifact(name, version)
     self.assertTrue(status.is_deployed(name, version))