Skip to content

Commit

Permalink
Delete Execution Environment created for test
Browse files Browse the repository at this point in the history
Issue: AAH-906
  • Loading branch information
bmclaughlin committed Oct 20, 2021
1 parent 78deaa2 commit ed91ad1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions galaxy_ng/tests/functional/cli/test_container_repository_tags.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from subprocess import Popen, run, PIPE, STDOUT

from pulp_smash.pulp3.bindings import monitor_task

from galaxy_ng.tests.functional.utils import TestCaseUsingBindings
from galaxy_ng.tests.functional.utils import set_up_module as setUpModule # noqa:F401

Expand Down Expand Up @@ -73,5 +75,9 @@ def test_list_container_repository_tags(self):
for image_id in image_ids:
run(['podman', "image", "rm", f"{image_id}", "--force"])

# Delete Content Repository
# self.container_repo_api.delete(base_path=image)
# Delete Execution Environment
# api does not currently support delete
ee_delete_response = self.smash_client.delete(
f"{self.galaxy_api_prefix}/_ui/v1/execution-environments/repositories/{image}"
)
print(f"Delete execution environment: {ee_delete_response['state']}")

0 comments on commit ed91ad1

Please sign in to comment.