Living-with-machines / lwmdb

A django-based library for managing the Living with Machines newspapers metadata database schema
https://living-with-machines.github.io/lwmdb/
MIT License
2 stars 0 forks source link

Set up testing fixtures #64

Closed kallewesterling closed 1 year ago

griff-rees commented 1 year ago

pytest is available from commit b98eb7d. Not yet merged with main...

griff-rees commented 1 year ago

pytest now runs as of 3a3b32b. Need to sort generating a test_db to run more tests, but I think the rest of the scaffolding is sorted. FYI: main delay was realising there were just a bunch of import issues (needed to add __init__.py files in folders). Not closing this until that branch is merged with main.

griff-rees commented 1 year ago

Generating a test_db is now fixed with 0b8f1f9ae94bf1f6bf1ba1bcb1c126ed6fbab2f2. Will close this ticket once merged.

griff-rees commented 1 year ago

Given the the tests pass (even though the linting doesn't) I think that's enough to close this ticket.

kallewesterling commented 1 year ago

Thank you!