From 300d0c684b65f145568d6593d08c53cc77ebed9c Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Fri, 15 Dec 2023 17:10:25 -0800 Subject: [PATCH] Remove django_get_or_create from factories This was included in error, and was not doing what I thought. It was causing the wrong objects to be created/obtained in factories. --- gregor_django/gregor_anvil/tests/factories.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gregor_django/gregor_anvil/tests/factories.py b/gregor_django/gregor_anvil/tests/factories.py index 01841d5e..ebc453ec 100644 --- a/gregor_django/gregor_anvil/tests/factories.py +++ b/gregor_django/gregor_anvil/tests/factories.py @@ -66,7 +66,6 @@ class UploadWorkspaceFactory(DjangoModelFactory): class Meta: model = models.UploadWorkspace - django_get_or_create = ["research_center", "consent_group"] class PartnerUploadWorkspaceFactory(DjangoModelFactory): @@ -79,7 +78,6 @@ class PartnerUploadWorkspaceFactory(DjangoModelFactory): class Meta: model = models.PartnerUploadWorkspace - django_get_or_create = ["partner_group", "consent_group"] class ExampleWorkspaceFactory(DjangoModelFactory):