diff options
Diffstat (limited to 'alphabetlearning/resources')
-rw-r--r-- | alphabetlearning/resources/factories.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/alphabetlearning/resources/factories.py b/alphabetlearning/resources/factories.py index 0f0194b..c8d2df4 100644 --- a/alphabetlearning/resources/factories.py +++ b/alphabetlearning/resources/factories.py @@ -37,11 +37,9 @@ class ResourceModelFactory(factory.django.DjangoModelFactory): model = Resource name = factory.Sequence(lambda n: f"Default Resource {n}") - # price = factory.Faker("pydecimal", left_digits=4, right_digits=2, positive=True) 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) |