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

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

src/f/e/feincms-HEAD/tests/testapp/tests/test_page.py   feincms(Download)
from feincms.content.richtext.models import RichTextContent
 
from feincms.context_processors import add_page_if_missing
from feincms.models import ContentProxy
from feincms.module.medialibrary.models import Category, MediaFile
        request.get_full_path = lambda: '/test-page/test-child-page/abcdef/'
 
        ctx = add_page_if_missing(request)
        self.assertEqual(ctx['feincms_page'], request._feincms_page)