Skip to content
Snippets Groups Projects
Commit 9d683132468a authored by sylvain thenault's avatar sylvain thenault
Browse files

cleanup

parent 0ce4c3918891
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,6 @@
from cubicweb.devtools.testlib import AutomaticWebTest
class AutomaticWebTest(AutomaticWebTest):
def to_test_etypes(self):
return set(('Blog', 'BlogEntry',))
......@@ -6,6 +6,6 @@
def to_test_etypes(self):
return set(('Blog', 'BlogEntry',))
def list_startup_views(self):
return ('blog_archive',)
......
......@@ -12,7 +12,7 @@
class BlogTests(ControllerTC):
"""test blog specific behaviours"""
def test_notifications(self):
cubicweb_blog = self.add_entity('Blog', title=u'cubicweb', description=u"cubicweb c'est beau")
blog_entry_1 = self.add_entity('BlogEntry', title=u"hop", content=u"cubicweb hop")
......@@ -29,7 +29,7 @@
sent = [re.sub('#\d+', '#EID', decode_header(msg['subject'].encode())[0][0])
for msg, recipients in op.to_send]
self.assertListEquals(sent, ['[data] hop', '[data] yes'])
if __name__ == '__main__':
unittest_main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment