Exemple #1
0
 def test_wrong_filepath_constructor(self):
     f = File(filepath='/non-exist-file')
     f.make_tuple()
Exemple #2
0
 def test_wrong_filepath(self):
     f = File()
     f.path = '/non-exist-file'
     f.make_tuple()
Exemple #3
0
 def test_make_tuple(self):
     f = File(filepath=path.join(testdatadir, 'Lenna.png'))
     f.make_tuple()