This repository contains a flask application structured in the way that all Land Registry flask APIs should be structured going forwards.
The purpose of this application is to sign a record before sending it to the register.
The unit tests are contained in the unit_tests folder. Pytest is used for unit testing.
To run the unit tests if you are using the common dev-env use the following command:
docker-compose exec mint-api make unittest
or, using the alias
unit-test registeror
docker-compose exec mint-api make report="true" unittest
or, using the alias
unit-test register -rLinting is performed with Flake8. To run linting:
docker-compose exec mint-api make lintThis application is documented in documentation/swagger.json