From 853088cd7ab6de7b5432e9da9aed3566d6870b3b Mon Sep 17 00:00:00 2001 From: Jake Wagoner Date: Mon, 7 Oct 2024 14:28:13 -0600 Subject: [PATCH] Add file field to factory --- swcc/tests/factories.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swcc/tests/factories.py b/swcc/tests/factories.py index b5d7fcef..c5f02d81 100644 --- a/swcc/tests/factories.py +++ b/swcc/tests/factories.py @@ -44,6 +44,7 @@ class DatasetFactory(Factory): class Meta: model = models.Dataset + file_source = './tests/test_data/project_demo.swproj' name = Sequence(lambda n: f'dataset_{n}') license = Faker('sentence') description = Faker('sentence')