Skip to content

Commit

Permalink
clean-up after test
Browse files Browse the repository at this point in the history
  • Loading branch information
avishniakov committed Oct 19, 2023
1 parent 681feb3 commit 3605a88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def generate_and_run_project(
dst_path=str(dst_path),
data=answers,
unsafe=True,
vcs_ref="HEAD",
) as worker:
worker.run_copy()

Expand Down Expand Up @@ -104,6 +105,8 @@ def generate_and_run_project(

# clean up
Client().delete_pipeline(product_name + pipeline_suffix)
Client().delete_model(product_name)
Client().active_stack.model_registry.delete_model(product_name)

os.chdir(current_dir)
shutil.rmtree(dst_path)
Expand Down

0 comments on commit 3605a88

Please sign in to comment.