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

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

src/f/e/feincms-HEAD/tests/testapp/tests/test_stuff.py   feincms(Download)
from feincms.content.file.models import FileContent
 
from feincms.models import Region, Template, Base
from feincms.module.blog.models import Entry
from feincms.module.page import processors
    def test_region(self):
        # Creation should not fail
 
        r = Region('region', 'region title')
        t = Template(
            'base template',
            'base.html',
            (
                ('region', 'region title'),
                Region('region2', 'region2 title'),