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!")
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()
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)