Skip to content

Commit

Permalink
Add file field to factory
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWags committed Oct 7, 2024
1 parent 2e86b75 commit 853088c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swcc/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 853088c

Please sign in to comment.