mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-10-08 22:46:41 +00:00
test(notifications): allow default temporary directory in CI
This commit is contained in:
@@ -83,4 +83,4 @@ def service(store, rc=0, stdout='active\n', raised=False, services=('pvedaemon',
|
|||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def case():
|
def case():
|
||||||
Clock.epoch=BASE
|
Clock.epoch=BASE
|
||||||
with tempfile.TemporaryDirectory(prefix='recovery-review-db-',dir=os.environ['TMPDIR']) as d:yield make_store(d)
|
with tempfile.TemporaryDirectory(prefix='recovery-review-db-',dir=os.environ.get('TMPDIR')) as d:yield make_store(d)
|
||||||
|
|||||||
Reference in New Issue
Block a user