def setUp(self): """ setting up """ twisted.internet.base.DelayedCall.debug = True print("setting up") create_fake_env('ZPlop', 2, 2) create_fake_env('Plop', 3, 2)
def setUp(self): if self.cwd == None: TestFsStore.cwd = os.getcwd() os.chdir(self.cwd) create_fake_env('ZPlop', 2, 2, self.cwd) create_fake_env('Plop', 2, 2, self.cwd) try : os.mkdir('Plop/Season 2/s2e02/') except Exception: pass with open('Plop/Season 2/s2e02/S02E02.avi', "w") as fil: fil.write("bidou") os.chdir("/")
def setUp(self): create_fake_env("Dexter", 1, 1)