Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions crates/pet-conda/tests/lib_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,9 @@ fn find_conda_env_without_manager_but_detect_manager_from_history() {

let environment = create_test_environment(HashMap::new(), None, vec![], None);
let locator = Conda::from(&environment);
let path = resolve_test_path(&[
"unix",
"conda_env_without_manager_but_found_in_history",
"env_python_3",
]);
let conda_dir = resolve_test_path(&[
"unix",
"conda_env_without_manager_but_found_in_history",
"some_other_location",
"conda_install",
]);
let path = resolve_test_path(&["unix", "conda_hist", "env_python_3"]);
let conda_dir =
resolve_test_path(&["unix", "conda_hist", "some_other_location", "conda_install"]);
let history_file = path.join("conda-meta").join("history");
let history_file_template = path.join("conda-meta").join("history_template");
let history_contents = fs::read_to_string(&history_file_template)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
==> 2024-02-28 23:05:07 <==
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/bin/conda create -n conda1
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/conda create -n conda1
# conda version: 23.11.0
==> 2024-02-28 23:08:59 <==
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/bin/conda install -c conda-forge --name conda1 ipykernel -y
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/conda install -c conda-forge --name conda1 ipykernel -y
# conda version: 23.11.0
+conda-forge/noarch::appnope-0.1.4-pyhd8ed1ab_0
+conda-forge/noarch::asttokens-2.4.1-pyhd8ed1ab_0
Expand Down
Loading