Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test coverage for sqlalchemy backend is below 100% #79

Open
stevepiercy opened this issue Dec 27, 2019 · 0 comments
Open

Test coverage for sqlalchemy backend is below 100% #79

stevepiercy opened this issue Dec 27, 2019 · 0 comments
Labels
help wanted sprintable Good for sprint topic

Comments

@stevepiercy
Copy link
Member

stevepiercy commented Dec 27, 2019

After generating a project using SQLAlchemy on the backend, then running tests with coverage via pytest --cov reveals test coverage is only at 55%.

Name                            Stmts   Miss  Cover
---------------------------------------------------
sqla/__init__.py                    8      6    25%
sqla/models/__init__.py            24      0   100%
sqla/models/meta.py                 5      0   100%
sqla/models/mymodel.py              8      0   100%
sqla/pshell.py                      7      7     0%
sqla/routes.py                      3      3     0%
sqla/scripts/__init__.py            0      0   100%
sqla/scripts/initialize_db.py      22     22     0%
sqla/views/__init__.py              0      0   100%
sqla/views/default.py              12      0   100%
sqla/views/notfound.py              4      4     0%
---------------------------------------------------
TOTAL                              93     42    55%

See also #80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted sprintable Good for sprint topic
Projects
None yet
Development

No branches or pull requests

1 participant