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