Ejemplo n.º 1
0
 def test_longer_filename(self):
     path='/Users/some/path/presumablyanalysisname.gfeat/fykfkyf'
     self.assertEqual(get_feat_directory(path),'/Users/some/path/presumablyanalysisname.gfeat/')
Ejemplo n.º 2
0
 def test_no_slash(self):
     path='/Users/some/path/presumablyanalysisname.gfeat'
     self.assertEqual(get_feat_directory(path),'/Users/some/path/presumablyanalysisname.gfeat/')
Ejemplo n.º 3
0
 def test_no_feat(self):
     path='/Users/Something/SomethingElse'
     self.assertIsNone(get_feat_directory(path))