diff options
Diffstat (limited to 'alphabetlearning/resources/factories.py')
-rw-r--r-- | alphabetlearning/resources/factories.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alphabetlearning/resources/factories.py b/alphabetlearning/resources/factories.py index 47d86e2..e406a9d 100644 --- a/alphabetlearning/resources/factories.py +++ b/alphabetlearning/resources/factories.py @@ -40,6 +40,7 @@ class ResourceModelFactory(factory.django.DjangoModelFactory): thumbnail_filenames = factory.List( [factory.Faker("file_name", extension="jpg") for _ in range(3)] ) + # price_obj = factory.RelatedFactoryList("alphabetlearning.payments.factories.PriceFactory", size=1) resource_type = factory.SubFactory(ResourceTypeModelFactory) main_resource_category = factory.SubFactory(ResourceCategoryModelFactory) subcategories = factory.RelatedFactoryList(ResourceCategoryModelFactory, size=2) |