From 110b4988d40ed7c3cabcb471ff2421a6e8c97580 Mon Sep 17 00:00:00 2001 From: badrogger Date: Tue, 15 Oct 2024 15:01:33 +0000 Subject: [PATCH] Fix tests --- tests/conftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 54308b49..824ba93d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -307,7 +307,7 @@ def tmp_config_dir(): @pytest.fixture def tmp_schains_dir(): - os.makedirs(SCHAIN_NODE_DATA_PATH) + os.makedirs(SCHAIN_NODE_DATA_PATH, exist_ok=True) try: yield SCHAIN_NODE_DATA_PATH finally: @@ -316,7 +316,6 @@ def tmp_schains_dir(): @pytest.fixture def tmp_sync_datadir(): - os.makedirs(TEST_SCHAINS_MNT_DIR_SYNC, exist_ok=True) try: yield TEST_SCHAINS_MNT_DIR_SYNC