Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Oct 15, 2024
1 parent 363b8cd commit 110b498
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 110b498

Please sign in to comment.