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