pull: split into package_info::lookup and pull
Some checks failed
CI / build (push) Failing after 1m47s
Some checks failed
CI / build (push) Failing after 1m47s
This commit is contained in:
@@ -125,8 +125,11 @@ mod tests {
|
||||
let cwd = temp_dir.path();
|
||||
log::debug!("Created temporary directory: {}", cwd.display());
|
||||
|
||||
log::info!("Pulling package {} from Ubuntu {}...", package, series);
|
||||
crate::pull::pull(package, "", Some(series), "", "", dist, Some(cwd), None)
|
||||
log::info!("Pulling package {} from {}...", package, series);
|
||||
let package_info = crate::package_info::lookup(package, None, Some(series), "", dist, None)
|
||||
.await
|
||||
.expect("Cannot lookup package information");
|
||||
crate::pull::pull(&package_info, Some(series), Some(cwd), None)
|
||||
.await
|
||||
.expect("Cannot pull package");
|
||||
log::info!("Successfully pulled package {}", package);
|
||||
|
||||
Reference in New Issue
Block a user