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

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

src/d/j/django-sopa-0.0.2/sopa/tests.py   django-sopa(Download)
# -*- coding: utf-8 -*-
from templatetags.sopa import is_censored, censor
import settings
import unittest2
 
    def test_sopa(self):
        result = is_censored(self.text)
        self.assertTrue(result)
 
        result = is_censored(self.text2)

src/d/j/django-sopa-HEAD/sopa/tests.py   django-sopa(Download)
# -*- coding: utf-8 -*-
from templatetags.sopa import is_censored, censor
import settings
import unittest2
 
    def test_sopa(self):
        result = is_censored(self.text)
        self.assertTrue(result)
 
        result = is_censored(self.text2)