Did I find the right examples for you? yes no

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

src/d/j/django-articles-HEAD/articles/tests.py   django-articles(Download)
from django.test.client import Client
 
from models import Article, ArticleStatus, Tag, get_name, MARKUP_HTML, MARKUP_MARKDOWN, MARKUP_REST, MARKUP_TEXTILE
 
class ArticleUtilMixin(object):
regular paragraph.</p>'''
 
        a = self.new_article('Demo', html, markup=MARKUP_HTML)
        a.do_render_markup()
        self.assertEqual(html, a.rendered_content)
            'tags': 'this is a test',
            'status': ArticleStatus.objects.default().id,
            'markup': MARKUP_HTML,
            'publish_date_0': '2011-08-15',
            'publish_date_1': '09:00:00',

src/d/j/django-articles-2.4.1/articles/tests.py   django-articles(Download)
from django.test.client import Client
 
from models import Article, ArticleStatus, Tag, get_name, MARKUP_HTML, MARKUP_MARKDOWN, MARKUP_REST, MARKUP_TEXTILE
 
class ArticleUtilMixin(object):
regular paragraph.</p>'''
 
        a = self.new_article('Demo', html, markup=MARKUP_HTML)
        a.do_render_markup()
        self.assertEqual(html, a.rendered_content)
            'tags': 'this is a test',
            'status': ArticleStatus.objects.default().id,
            'markup': MARKUP_HTML,
            'publish_date_0': '2011-08-15',
            'publish_date_1': '09:00:00',