From adfafe873d450745d64135442c75b35ffbad9971 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Fri, 3 Jan 2020 16:42:19 -0800 Subject: [PATCH] [test] Add an announce for when `setup` is being ran for tests --- tests/cli-pyhmy/test_cli.py | 1 + tests/util-pyhmy/test_util.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/cli-pyhmy/test_cli.py b/tests/cli-pyhmy/test_cli.py index 6f758f7..a5bd5ff 100644 --- a/tests/cli-pyhmy/test_cli.py +++ b/tests/cli-pyhmy/test_cli.py @@ -12,6 +12,7 @@ BINARY_FILE_PATH = f"{TEMP_DIR}/bin/cli_test_binary" @pytest.fixture(scope="session", autouse=True) def setup(): + print(f"Running test set-up for {os.path.realpath(__file__)}") shutil.rmtree(TEMP_DIR, ignore_errors=True) os.makedirs(TEMP_DIR, exist_ok=True) from pyhmy.util import download_cli diff --git a/tests/util-pyhmy/test_util.py b/tests/util-pyhmy/test_util.py index 979a17b..15cbc0e 100644 --- a/tests/util-pyhmy/test_util.py +++ b/tests/util-pyhmy/test_util.py @@ -14,6 +14,7 @@ TEMP_DIR = "/tmp/pyhmy-testing/test-util" @pytest.fixture(scope="session", autouse=True) def setup(): + print(f"Running test set-up for {os.path.realpath(__file__)}") shutil.rmtree(TEMP_DIR, ignore_errors=True) os.makedirs(TEMP_DIR, exist_ok=True)