Skip to content

Commit 56e7e42

Browse files
committed
Update test to account for CONSTRUCTOR_CONDA_EXE
1 parent a1e1f2d commit 56e7e42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_examples.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,9 @@ def test_macos_signing(tmp_path, self_signed_application_certificate_macos):
663663
# including binary archives like the PlugIns file
664664
cmd = ["pkgutil", "--expand-full", installer, expanded_path]
665665
_execute(cmd)
666+
conda_exe_name = 'micromamba' if _is_micromamba(CONSTRUCTOR_CONDA_EXE) else 'conda.exe'
666667
components = [
667-
Path(expanded_path, "prepare_installation.pkg", "Payload", "osx-pkg-test", "conda.exe"),
668+
Path(expanded_path, "prepare_installation.pkg", "Payload", "osx-pkg-test", conda_exe_name),
668669
Path(expanded_path, "Plugins", "ExtraPage.bundle"),
669670
]
670671
validated_signatures = []

0 commit comments

Comments
 (0)