def test_if_not_all_symlinked_files_exist_after_successful_resolve_fail(self): resolve = IvyResolveStep(["default"], "hash_name", None, False, "cache_dir", "workdir") # Stub resolving and creating the result, returning one missing artifacts. resolve._do_resolve = do_nothing resolve.load = return_resolve_result_missing_artifacts with self.assertRaises(IvyResolveMappingError): resolve.exec_and_load(None, None, [], None, None, None)
def test_if_not_all_symlinked_files_exist_after_successful_resolve_fail( self): resolve = IvyResolveStep(['default'], 'hash_name', None, False, 'cache_dir', 'workdir') # Stub resolving and creating the result, returning one missing artifacts. resolve._do_resolve = do_nothing resolve.load = return_resolve_result_missing_artifacts with self.assertRaises(IvyResolveMappingError): resolve.exec_and_load(None, None, [], None, None, None)
def test_if_not_all_hardlinked_files_exist_after_successful_resolve_fail(self): resolve = IvyResolveStep( ['default'], 'hash_name', None, False, 'resolution_cache_dir', 'repository_cache_dir', 'workdir') # Stub resolving and creating the result, returning one missing artifacts. resolve._do_resolve = do_nothing resolve.load = return_resolve_result_missing_artifacts with self.assertRaises(IvyResolveMappingError): resolve.exec_and_load(None, None, [], None, None, None)
def test_if_not_all_hardlinked_files_exist_after_successful_resolve_fail(self): resolve = IvyResolveStep( ["default"], "hash_name", None, False, "resolution_cache_dir", "repository_cache_dir", "workdir", ) # Stub resolving and creating the result, returning one missing artifacts. resolve._do_resolve = do_nothing resolve.load = return_resolve_result_missing_artifacts with self.assertRaises(IvyResolveMappingError): resolve.exec_and_load(None, None, [], None, None, None)