We pulled this repo for the mines digital trust team and added a unit test suite.
It is by no means complete (about 45% percent code coverage), but we wanted to introduce into the template to be iterated on by anyone else using this repo.
Current testing is limited to:
Liveness checks
host/issue-credential call spins up two ProcessingThreads
ProcessingThreads call ACAPy
Callback has proper topic recognition (empty bodies)
We pulled this repo for the mines digital trust team and added a unit test suite.
It is by no means complete (about 45% percent code coverage), but we wanted to introduce into the template to be iterated on by anyone else using this repo.
Current testing is limited to:
Liveness checks host/issue-credential call spins up two ProcessingThreads ProcessingThreads call ACAPy Callback has proper topic recognition (empty bodies)
Github Action
We have also incorporated this testing suite into a github action that reports results to code climate, found here. https://github.com/bcgov/mines-digital-trust/blob/develop/.github/workflows/code_climate.yml
Other Changes
I found the app needs to be imported a module, so i've added appropriate init.py files and have moved the entrypoint (and other file paths).