diff --git a/deploy/testdata.py b/deploy/testdata.py index dca385f..3b59d27 100644 --- a/deploy/testdata.py +++ b/deploy/testdata.py @@ -70,6 +70,15 @@ def setup(): issue_thread=issue_thread, )[0] + from inventory.models import Container + + Container.objects.get_or_create( + id=1, + name='testcontainer' + )[0] + + + def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings")