Fix final missed `marketstore` mod import
Thanks @esme! XD Also, do a linter pass and remove a buncha unused references.service_subpkg
parent
6f92c6b52d
commit
cda7a54718
|
@ -1,25 +1,19 @@
|
|||
import pytest
|
||||
import trio
|
||||
|
||||
from typing import AsyncContextManager
|
||||
|
||||
from piker.service import Services
|
||||
from piker.log import get_logger
|
||||
|
||||
from elasticsearch import Elasticsearch
|
||||
from piker.data import marketstore
|
||||
from piker.service import marketstore
|
||||
|
||||
|
||||
def test_marketstore_startup_and_version(
|
||||
open_test_pikerd: AsyncContextManager,
|
||||
loglevel,
|
||||
):
|
||||
|
||||
'''
|
||||
Verify marketstore starts correctly
|
||||
|
||||
'''
|
||||
log = get_logger(__name__)
|
||||
|
||||
async def main():
|
||||
# port = 5995
|
||||
|
||||
|
@ -36,7 +30,6 @@ def test_marketstore_startup_and_version(
|
|||
len('3862e9973da36cfc6004b88172c08f09269aaf01')
|
||||
)
|
||||
|
||||
|
||||
trio.run(main)
|
||||
|
||||
|
||||
|
@ -49,8 +42,6 @@ def test_elasticsearch_startup_and_version(
|
|||
|
||||
'''
|
||||
|
||||
log = get_logger(__name__)
|
||||
|
||||
async def main():
|
||||
port = 19200
|
||||
|
||||
|
@ -62,5 +53,4 @@ def test_elasticsearch_startup_and_version(
|
|||
es = Elasticsearch(hosts=[f'http://localhost:{port}'])
|
||||
assert es.info()['version']['number'] == '7.17.4'
|
||||
|
||||
|
||||
trio.run(main)
|
||||
|
|
Loading…
Reference in New Issue