Add specific location of _testing dir in delete_testing_dir fixture

explicit_write_pps_on_exit
jaredgoldman 2023-02-28 13:01:42 -05:00
parent e4e368923d
commit 802af306ac
1 changed files with 6 additions and 3 deletions

View File

@ -173,9 +173,12 @@ def open_test_pikerd_and_ems(
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def delete_testing_dir(): def delete_testing_dir():
'''This fixture removes the temp directory '''
This fixture removes the temp directory
used for storing all config/ledger/pp data used for storing all config/ledger/pp data
created during testing sessions created during testing sessions. During test runs
this file can be found in .config/piker/_testing
''' '''
yield yield
app_dir = Path(config.get_app_dir('piker')).resolve() app_dir = Path(config.get_app_dir('piker')).resolve()