Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/j/django-oscar-HEAD/tests/unit/dashboard/voucher_form_tests.py   django-oscar(Download)
                'benefit_type': 'Percentage',
                'usage': 'Single use'}
        form = forms.VoucherForm(data=data)
        try:
            form.is_valid()