Did I find the right examples for you? yes no

All Samples(30)  |  Call(30)  |  Derive(0)  |  Import(0)

src/l/f/lfs-buildout-development-HEAD/scripts/load_data.py   lfs-buildout-development(Download)
    shop.save()
 
    tax = Tax.objects.create(rate=21)
 
    direct_debit = PaymentMethod.objects.create(

src/d/j/django-lfs-HEAD/lfs/customer/tests.py   django-lfs(Download)
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(

src/d/j/django-lfs-HEAD/lfs/checkout/tests/test_addresses.py   django-lfs(Download)
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(

src/d/j/django-lfs-HEAD/lfs/voucher/tests.py   django-lfs(Download)
 
        # With tax
        self.v1.tax = Tax.objects.create(rate=19.0)
        self.v1.save()
 
        # Note: If the voucher is pecentage the tax is taken from the several
        # products not from the voucher itself.
        tax = Tax.objects.create(rate=19.0)
        self.p1.tax = tax
        self.p1.save()

src/d/j/django-lfs-HEAD/lfs/cart/tests.py   django-lfs(Download)
        self.request.user = User(id=1)
 
        self.tax = Tax.objects.create(rate=19.0)
 
        self.p1 = Product.objects.create(name="Product 1", slug="product-1", price=10.0, tax=self.tax, active=True)
    def setUp(self):
        self.tax = Tax.objects.create(rate=19.0)
 
        self.p1 = Product.objects.create(name="Product 1", slug="product-1", price=10.0, tax=self.tax, active=True)
        self.p2 = Product.objects.create(name="Product 2", slug="product-2", price=100.0, tax=self.tax)

src/d/j/django-lfs-0.7.7/lfs/voucher/tests.py   django-lfs(Download)
 
        # With tax
        self.v1.tax = Tax.objects.create(rate=19.0)
        self.v1.save()
 
        # Note: If the voucher is pecentage the tax is taken from the several
        # products not from the voucher itself.
        tax = Tax.objects.create(rate=19.0)
        self.p1.tax = tax
        self.p1.save()

src/d/j/django-lfs-0.7.7/lfs/cart/tests.py   django-lfs(Download)
        self.request.user = User(id=1)
 
        self.tax = Tax.objects.create(rate=19.0)
 
        self.p1 = Product.objects.create(name="Product 1", slug="product-1", price=10.0, tax=self.tax, active=True)
    def setUp(self):
        self.tax = Tax.objects.create(rate=19.0)
 
        self.p1 = Product.objects.create(name="Product 1", slug="product-1", price=10.0, tax=self.tax)
        self.p2 = Product.objects.create(name="Product 2", slug="product-2", price=100.0, tax=self.tax)

src/d/j/django-lfs-HEAD/lfs/checkout/tests/test_checkout.py   django-lfs(Download)
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(

src/d/j/django-lfs-0.7.7/lfs/checkout/tests/test_checkout.py   django-lfs(Download)
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(

src/d/j/django-lfs-0.7.7/lfs/checkout/tests/test_addresses.py   django-lfs(Download)
        shop.save()
 
        tax = Tax.objects.create(rate=19)
 
        shipping_method = ShippingMethod.objects.create(

  1 | 2 | 3  Next