Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/import export books #76

Merged
merged 10 commits into from
Sep 4, 2024
Prev Previous commit
Next Next commit
Fix testcase
  • Loading branch information
thenav56 committed Dec 4, 2023
commit f6203e416d669f240bdfa4efa5484aa132a6dd06
4 changes: 4 additions & 0 deletions apps/order/factories.py
Original file line number Diff line number Diff line change
@@ -43,6 +43,10 @@ class Meta:
class OrderWindowFactory(DjangoModelFactory):
title = fuzzy.FuzzyText(length=15)
description = fuzzy.FuzzyText(length=200)
enable_incentive = True
incentive_multiplier = 3
incentive_quantity_threshold = 10
incentive_max = 120

class Meta:
model = OrderWindow