Esempio n. 1
0
    def test_30_init_workdir__dir_not_exists(self):
        wdir = os.path.join(self.workdir, "wdir")

        wdir_result = TT.init_workdir(wdir)
        self.assertEquals(wdir_result, wdir)
        self.assertTrue(os.path.exists(wdir_result))
Esempio n. 2
0
 def test_30_init_workdir__dir_exists(self):
     self.assertEquals(TT.init_workdir("/tmp"), "/tmp")