Skip to content
Snippets Groups Projects
Commit 5e0b0e6d authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Fix tests and run tests in parallel

parent 606979f3
Branches
Tags
No related merge requests found
......@@ -203,7 +203,7 @@ CONFIG_SCHEMA = {
"datasources": {
"type": "object",
"properties": {
"influxdb": {"$ref": "#definitions/influx-datasource"}
"influxdb": {"$ref": "#/definitions/influx-datasource"}
},
"additionalProperties": False
},
......
import responses
from conftest import get_test_data
from test.conftest import get_test_data
from brian_dashboard_manager.templating.gws import generate_gws
from brian_dashboard_manager.inventory_provider.interfaces import \
get_gws_direct
......
......@@ -3,7 +3,7 @@ import json
from brian_dashboard_manager.grafana.provision import provision_folder, \
provision
from conftest import get_test_data
from test.conftest import get_test_data
TEST_INTERFACES = [
{
......
......@@ -6,19 +6,14 @@ exclude = venv,.tox
max-line-length = 120
[testenv]
setenv =
COVERAGE_PROCESS_START=.coveragerc
deps =
coverage
pytest-xdist
pytest-cov
flake8
-r requirements.txt
commands =
coverage erase
coverage run --source brian_dashboard_manager -m pytest {posargs}
coverage combine
coverage xml
coverage html
coverage report --fail-under 75
pytest -n auto --cov brian_dashboard_manager --cov-report html --cov-report xml --cov-report term -p no:checkdocs
flake8
sphinx-build -M html docs/source docs/build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment