Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #88 from AntelopeIO/mikelik/fix-test_project
Browse files Browse the repository at this point in the history
Fix failing test_project.py - merge to functional-tests branch
  • Loading branch information
mikelik authored Dec 16, 2022
2 parents 1bce6e7 + f04f870 commit 4bae768
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import subprocess

from common import DUNE_EXE,TEST_PATH
from container import container


PROJECT_NAME = "test_app"
Expand All @@ -27,6 +28,9 @@
def remove_existing():
""" Remove an existing `./test_app` dir. """

cntr = container('dune_container', 'dune:latest')
cntr.stop()

if os.path.exists(TEST_APP_DIR):
print("Removing TEST_APP_DIR: ", TEST_APP_DIR)
shutil.rmtree(TEST_APP_DIR)
Expand Down

0 comments on commit 4bae768

Please sign in to comment.