Did I find the right examples for you? yes no

All Samples(4)  |  Call(1)  |  Derive(2)  |  Import(1)

src/c/a/candideitorg-django-0.0.1/candideitorg/tests.py   candideitorg-django(Download)
from django.test import TestCase
import slumber
from candideitorg.models import CandideitorgDocument, Election, Category, Candidate, BackgroundCategory,\
                                PersonalData, Background, Answer, Question, PersonalDataCandidate, Link,\
                                BackgroundCandidate, InformationSource
    def test_candideitor_document_is_abstract(self):
        document = CandideitorgDocument()
 
        self.assertTrue(document)
        self.assertTrue(document._meta.abstract)
 
    def test_candideitorg_document_attribute(self):
 
        class Element(CandideitorgDocument):
        class Element(CandideitorgDocument):
            class Meta:
                app_label = 'candideitorg'
 
        api = Element.get_api()