Closed tombola closed 4 months ago
Clean up acquisitions, stock, batch etc creation by using factories.
Also can then use sub factories to create required records in other tables.
Also allows parameterisation of tests with different details for eg batch.
https://pytest-factoryboy.readthedocs.io/en/stable/
Clean up acquisitions, stock, batch etc creation by using factories.
Also can then use sub factories to create required records in other tables.
Also allows parameterisation of tests with different details for eg batch.
https://pytest-factoryboy.readthedocs.io/en/stable/