geopython / geopython/GeoHealthCheck
Error in webapp after loading test fixtures
- Dominant language
- Python
- Stars
- 92
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Loading the test fixtues and running the web app results in a jinja exception.
**To Reproduce**
1) Start a clean GHC environment
2) Create a database and admin user
3) Serve the web app -> works
4) Stop the web app
5) Load test fixtures `python GeoHealthCheck/models.py load tests/data/fixtures.json`
6) Serve the web app -> Error:
```
jinja2.exceptions.UndefinedError
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'OSGeo:WFS3'
```
**Expected Behavior**
I expect GHC to *not* show an error report and to *do* show me the probes and checks configured in the test fixtures.
**Screenshots or Logfiles**
At the end of the error message:
```
File "GeoHealthCheck/templates/home.html", line 14, in root
File "/GeoHealthCheck/templates/layout.html", line 94, in root
Contributor guide
Assessment
This issue has not been assessed yet.