def setUp(self): PluginTest.setUp(self, akismetcomments) akismet.Akismet = MockAkismet self.config['base_url'] = MockAkismet.BLOG_URL self.config['akismet_api_key'] = MockAkismet.GOOD_KEY self.args['comment'] = {'description': "foo", 'ipaddress': MockAkismet.IPADDRESS}
def setUp(self): PluginTest.setUp(self, comments) # add comment templates self.renderer.flavour.update({"comment-story": "comment-story", "comment": "comment"}) # inject the frozen time module comments.time = self.frozen_time # populate with default config vars comments.cb_start(self.args)
def setUp(self): PluginTest.setUp(self, akismetcomments) akismet.Akismet = MockAkismet self.config['base_url'] = MockAkismet.BLOG_URL self.config['akismet_api_key'] = MockAkismet.GOOD_KEY self.args['comment'] = { 'description': "foo", 'ipaddress': MockAkismet.IPADDRESS }
def setUp(self): PluginTest.setUp(self, comments) # add comment templates self.renderer.flavour.update({'comment-story': 'comment-story', 'comment': 'comment'}) # inject the frozen time module comments.time = self.frozen_time # populate with default config vars comments.cb_start(self.args)
def setUp(self): PluginTest.setUp(self, check_javascript) self.config['blog_title'] = 'test title'
def setUp(self): PluginTest.setUp(self, pycategories) self.request.get_data()["extensions"] = {"txt": parse_text}
def setUp(self): PluginTest.setUp(self, entrytitle)
def setUp(self): PluginTest.setUp(self, yeararchives)
def setUp(self): PluginTest.setUp(self, check_nonhuman)
def setUp(self): PluginTest.setUp(self, readmore)
def setUp(self): PluginTest.setUp(self, acronyms)
def setUp(self): PluginTest.setUp(self, tags) self.tmpdir = tempfile.mkdtemp()
def setUp(self): PluginTest.setUp(self, pyfilenamemtime)
def setUp(self): PluginTest.setUp(self, pages)
def setUp(self): PluginTest.setUp(self, check_blacklist)