Ejemplo n.º 1
0
 def test_checking_fail(self):
     davis = Davis(FIXTURE_DIR)
     with pytest.raises(FileNotFoundError):
         davis.check_files(Davis.sets['train'])
 def test_checking_success(self):
     davis = Davis(os.path.join(tempfile.mkdtemp(), 'DAVIS_2019'))
     davis.check_files(Davis.sets['train'])