diff --git a/test/test_blog.py b/test/test_blog.py index 0ce4c3918891eba984825f8d2f0ab890343c0db9_dGVzdC90ZXN0X2Jsb2cucHk=..9d683132468a340f87945ecbd6311e5367b911a7_dGVzdC90ZXN0X2Jsb2cucHk= 100644 --- a/test/test_blog.py +++ b/test/test_blog.py @@ -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',) diff --git a/test/unittest_blog.py b/test/unittest_blog.py index 0ce4c3918891eba984825f8d2f0ab890343c0db9_dGVzdC91bml0dGVzdF9ibG9nLnB5..9d683132468a340f87945ecbd6311e5367b911a7_dGVzdC91bml0dGVzdF9ibG9nLnB5 100644 --- a/test/unittest_blog.py +++ b/test/unittest_blog.py @@ -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()