1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Fix tests

This commit is contained in:
thatmattlove
2021-10-04 01:43:02 -07:00
parent 28eb803a8e
commit fe7abddd4e
3 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ from pathlib import Path
from hyperglass.settings import Settings
# Local
from ..collect import load_config
from ..load import load_config
TOML = """
test = "from toml"

View File

@@ -0,0 +1 @@
"""Container for external plugins. External plugins are copied here on registration."""

View File

@@ -99,7 +99,7 @@ lint = {cmd = "flake8 hyperglass", help = "Run Flake8"}
sort = {cmd = "isort hyperglass", help = "Run iSort"}
start = {cmd = "python3 -m hyperglass.main", help = "Start hyperglass"}
start-asgi = {cmd = "uvicorn hyperglass.api:app", help = "Start hyperglass via Uvicorn"}
test = {cmd = "pytest hyperglass", help = "Run hyperglass tests"}
test = {cmd = "pytest hyperglass --ignore hyperglass/plugins/external", help = "Run hyperglass tests"}
ui-build = {cmd = "python3 -m hyperglass.console build-ui", help = "Run a UI Build"}
ui-dev = {cmd = "yarn --cwd ./hyperglass/ui/ dev", help = "Start the Next.JS dev server"}
ui-format = {cmd = "yarn --cwd ./hyperglass/ui/ format", help = "Run Prettier"}