I have dumped data from my development environment using dumpdata django command into a yaml file.
I am using pytest framework and need to achieve the following scenario:
- During start of a pytest session -> that is when I run pytest from command line, the data from yaml file should be loaded into my test database
Is there any plugin or hook which I can use to achieve the above ?
I am using python 3.8, pytest 6.2.4, pytest-django 4.40, Django 3.0.5