コード例 #1
0
 def setUp(self):
     super(FileChangedTestCase, self).setUp()
     self.ui = DummyUI()
     self.site = DummySite(self.test_dir, self.ui)
     self.engine = DummyDeploymentEngine(self.site)
     with open(os.path.join(self.test_dir, "123.html"), "w") as f:
         f.write("Hello!")
コード例 #2
0
 def setUp(self):
     super(BucketCreateTestCase, self).setUp()
     self.ui = DummyUI()
     self.site = DummySite(self.test_dir, self.ui)
     self.engine = DummyDeploymentEngine(self.site)
     self.engine.configure()
コード例 #3
0
 def setUp(self):
     super(BucketNameTestCase, self).setUp()
     self.ui = DummyUI(create_bucket=False)
     self.site = DummySite(self.test_dir, self.ui)
     self.engine = DummyDeploymentEngine(self.site)