mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Fix tests
This commit is contained in:
@@ -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"
|
1
hyperglass/plugins/external/__init__.py
vendored
1
hyperglass/plugins/external/__init__.py
vendored
@@ -0,0 +1 @@
|
||||
"""Container for external plugins. External plugins are copied here on registration."""
|
||||
|
@@ -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"}
|
||||
|
Reference in New Issue
Block a user