Skip to content

Commit 1228afc

Browse files
authored
Merge pull request #318 from RRosio/test_package
Updating Python version for API Tests
2 parents c91e300 + d3dc381 commit 1228afc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mamba_gator/tests/test_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ def mk_env(self, name=None, packages=None, remove_if_exists=True):
5252
self.wait_for_task(self.rm_env, new_name)
5353
self.env_names.append(new_name)
5454

55+
# TODO: Remove this once we have a way to test the environment creation with packages from different channels
56+
# or once packages are available in the default channel
5557
return self.conda_api.post(
5658
["environments"],
57-
body={"name": new_name, "packages": packages or ["python!=3.10.0"]},
59+
body={"name": new_name, "packages": packages or ["python!=3.14.0"]},
5860
)
5961

6062
def rm_env(self, name):
@@ -1679,4 +1681,4 @@ def test_delete_task(self):
16791681
location = r.headers["Location"]
16801682
_, index = location.rsplit("/", maxsplit=1)
16811683
r = self.conda_api.delete(["tasks", index])
1682-
self.assertEqual(r.status_code, 204)
1684+
self.assertEqual(r.status_code, 204)

0 commit comments

Comments
 (0)