Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 25, 2024
1 parent 3236832 commit d78153b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests_deployment/test_conda_store_scaling.py
Expand Up @@ -160,7 +160,7 @@ def delete_conda_environments(self):
delete_url = f"https://{NEBARI_HOSTNAME}/{CONDA_STORE_API_ENDPOINT}/environment/global/{env_name}"
self.log.info(f"Deleting {delete_url}")
requests.delete(delete_url, headers=self.headers)
self.log.info(f"All conda environments deleted.")
self.log.info("All conda environments deleted.")

@timeout(6 * 60)
def timed_wait_for_environment_creation(self, target_count):
Expand All @@ -183,7 +183,7 @@ def timed_wait_for_environment_creation(self, target_count):
self.log.info(f"{created_count}/{target_count} Environments created")
time.sleep(5)

self.log.info(f"timed_wait_for_environment_creation finished successfully.")
self.log.info("timed_wait_for_environment_creation finished successfully.")

@timeout(10)
def build_n_environments(self, n):
Expand Down Expand Up @@ -222,7 +222,7 @@ def create_conda_store_env(self):
request_json = {
"namespace": "global",
"specification": f"dependencies:\n - pandas\nvariables: {{}}\nchannels: "
f"[]\n\ndescription: ''\nname: {name}\nprefix: null",
f"[]\n\ndescription: ''\nname: {name}\nprefix: null",
}
response = requests.post(_url, json=request_json, headers=self.headers)
self.log.debug(request_json)
Expand Down

0 comments on commit d78153b

Please sign in to comment.