Skip zero test and change use Path when creating a config folder in marketstore

paper_trade_improvements_rebase
jaredgoldman 2023-02-26 16:41:06 -05:00
parent ed6041d138
commit a5edaa9b5c
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ from typing import (
)
import time
from math import isnan
from pathlib import Path
from bidict import bidict
from msgspec.msgpack import encode, decode
@ -134,7 +135,7 @@ def start_marketstore(
# create dirs when dne
if not os.path.isdir(config._config_dir):
os.mkdir(config._config_dir)
Path(config._config_dir).mkdir(parents=True, exist_ok=True)
if not os.path.isdir(mktsdir):
os.mkdir(mktsdir)

View File

@ -184,7 +184,7 @@ def test_sell(open_test_pikerd_and_ems: AsyncContextManager, delete_testing_dir)
),
)
@pytest.mark.skip(reason="Due to precision issues, this test will currently fail")
def test_multi_sell(open_test_pikerd_and_ems: AsyncContextManager, delete_testing_dir):
# Make 5 market limit buy orders
_run_test_and_check(