aboutsummaryrefslogtreecommitdiff
path: root/tests/test_conda.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_conda.c')
-rw-r--r--tests/test_conda.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_conda.c b/tests/test_conda.c
index 72217fc..2ed869a 100644
--- a/tests/test_conda.c
+++ b/tests/test_conda.c
@@ -1,4 +1,6 @@
#include "testing.h"
+#include "conda.h"
+#include "delivery.h"
char cwd_start[PATH_MAX];
char cwd_workspace[PATH_MAX];
@@ -38,8 +40,8 @@ struct Delivery ctx;
void test_conda_installation() {
char *install_url = calloc(255, sizeof(install_url));
- delivery_get_installer_url(&ctx, install_url);
- delivery_get_installer(&ctx, install_url);
+ delivery_get_conda_installer_url(&ctx, install_url);
+ delivery_get_conda_installer(&ctx, install_url);
delivery_install_conda(ctx.conda.installer_path, ctx.storage.conda_install_prefix);
STASIS_ASSERT_FATAL(access(ctx.storage.conda_install_prefix, F_OK) == 0, "conda was not installed correctly");
STASIS_ASSERT_FATAL(conda_activate(ctx.storage.conda_install_prefix, "base") == 0, "unable to activate base environment");