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

Fix failing test_project.py - merge to functional-tests branch #88

Merged
merged 1 commit into from
Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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