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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/d/j/django-choices-flow-HEAD/django_choices_flow/tests/test_model.py   django-choices-flow(Download)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
 
from django.test import TestCase
from django_choices_flow.models_test import MyIntegerInvoide, IntegerChoices, \
    def test_create_invoice(self):
        invoice = MyIntegerInvoide()
        invoice.number = 1234
        invoice.full_clean()
        invoice.save()
 
        self.assertTrue(MyIntegerInvoide.objects.count())
 
    def test_status_invoice(self):
        invoice = MyIntegerInvoide()
    def test_flow_control(self):
        invoice = MyIntegerInvoide()
        invoice.number = 1234
        invoice.full_clean()
        invoice.save()

src/d/j/django-choices-flow-HEAD/django_choices_flow/tests/test_formmodel.py   django-choices-flow(Download)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
 
from django.forms import ModelForm
from django_choices_flow.models_test import (MyIntegerInvoide, MyCharInvoide,