def test_validate_file_fails(self): """ Test: Raise IOError if file not found """ validate_file("this_file_doesn't_exist")
def test_validate_file_fails(self): """ Test: Raise IOError if file not found """ validate_file( "this_file_doesn't_exist" )
def test_validate_file(self): """ Test: Return abspath if file found """ file_path = validate_file(DATA_REL_PATH) self.assertEqual(file_path, DATA_ABS_PATH)
def test_validate_file(self): """ Test: Return abspath if file found """ file_path = validate_file( DATA_REL_PATH ) self.assertEqual( file_path, DATA_ABS_PATH )