add backups fixtures to the main conftest

This commit is contained in:
Andreas Zweili 2020-01-11 17:39:17 +01:00
parent e13a35bfe1
commit 76044643ec
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ from guardian.shortcuts import assign_perm
@pytest.fixture(scope='session')
def django_db_setup(django_db_setup, django_db_blocker):
with django_db_blocker.unblock():
call_command('loaddata', 'backups.yaml')
call_command('loaddata', 'core.yaml')
call_command('loaddata', 'devices.yaml')
call_command('loaddata', 'inventory.yaml')