only clean up if _testing file exists
parent
1e473874ad
commit
3acc424c3e
|
@ -36,8 +36,9 @@ log = get_logger(__name__)
|
||||||
def paper_cleanup():
|
def paper_cleanup():
|
||||||
yield
|
yield
|
||||||
app_dir = get_app_dir('piker')
|
app_dir = get_app_dir('piker')
|
||||||
rmtree(app_dir)
|
if os.path.isfile(app_dir)
|
||||||
assert not os.path.isfile(app_dir)
|
rmtree(app_dir)
|
||||||
|
assert not os.path.isfile(app_dir)
|
||||||
|
|
||||||
def test_paper_trade(
|
def test_paper_trade(
|
||||||
open_test_pikerd: AsyncContextManager,
|
open_test_pikerd: AsyncContextManager,
|
||||||
|
|
Loading…
Reference in New Issue