Skip to content

Test coverage for sqlalchemy backend is below 100% #79

Description

@stevepiercy

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions