Home | History | Annotate | Download | only in test

Lines Matching full:path

28 _mhpath = os.path.join(_mhroot, "MH")
29 _mhprofile = os.path.join(_mhroot, ".mh_profile")
32 return os.path.join(*f.split('/'))
35 dir = os.path.split(fname)[0]
36 if dir and not os.path.exists(dir):
54 writeFile(os.path.join(_mhpath, "context"),
59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"),
66 mkdirs(os.path.join(_mhpath, folder))
67 writeFile(os.path.join(_mhpath, folder, str(n)), contents)
70 return mhlib.MH(os.path.abspath(_mhpath), _mhprofile)
80 if os.path.exists(fname) or fname == '':
82 base, file = os.path.split(fname)
87 if not os.path.exists(fname):
90 fullname = os.path.join(fname, f)
91 if os.path.isdir(fullname):
107 writeProfile({'Path' : os.path.abspath(_mhpath),
154 eq(mh.getpath(), os.path.abspath(_mhpath))
159 eq(readFile(os.path.join(_mhpath, 'context')),
166 os.path.join(os.path.abspath(_mhpath), 'inbox'))
168 os.path.join(os.path.abspath(_mhpath), 'inbox', '.mh_sequences'))
170 os.path.join(os.path.abspath(_mhpath), 'inbox', '1'))
209 eq(readFile(os.path.join(_mhpath, 'wide', '.mh_sequences')),
237 seqs = readFile(os.path.join(_mhpath, 'wide', '.mh_sequences'))
260 path = os.path.join(_mhpath, "dummy1")
261 self.assertTrue(os.path.exists(path))
276 files = os.listdir(path)
281 files = os.listdir(path)
314 self.assertTrue(not os.path.exists(path))