2👍
✅
Like Daniel commented, test DB is initially empty. You can add any data you want for testing by using one of two methods:
- Django Fixtures – You can add data using a JSON file just like initial data.
- Mock data using a library such as django dynamic fixture during run time.
These are your best bets.
Source:stackexchange.com