Skip to content
Snippets Groups Projects
Commit 81bc6206 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

tox correction

parent c052b036
No related branches found
No related tags found
No related merge requests found
......@@ -28,5 +28,3 @@ class Nrens(base_schema):
abbreviation = sa.Column(sa.String)
country_code = sa.Column(sa.String)
budgets = relationship('Budgets', back_populates='nren')
......@@ -86,7 +86,7 @@ def test_budget_data():
with survey_db.session_scope() as session:
data = _test_data_csv("BudgetTestData.csv")
nrens = set()
budgets_data=[]
budgets_data = []
for row in data:
nren = row["nren"]
budget = row["budget"]
......@@ -106,7 +106,7 @@ def test_budget_data():
session.add(
survey_model.Nrens(
abbreviation=nren,
country_code= nren
country_code=nren
))
session.add_all(budgets_data)
......
......@@ -15,7 +15,7 @@ commands =
coverage run --source compendium_v2 -m pytest {posargs}
coverage xml
coverage html
coverage report --fail-under 40
coverage report --fail-under 80
flake8
# Disable mypy in tox until build server supports python 3.9
# mypy compendium_v2/**/*.py test/*.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment