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

test update: not unittest ; limit automatic tests to blog related stuff

parent fd89cce99dba
No related branches found
No related tags found
No related merge requests found
from logilab.common.testlib import TestCase, unittest_main from logilab.common.testlib import unittest_main
from cubicweb.devtools.testlib import AutomaticWebTest
...@@ -2,9 +3,11 @@ ...@@ -2,9 +3,11 @@
class BlogTC(TestCase): class AutomaticWebTest(AutomaticWebTest):
def test_something(self):
self.skip('this component has no test') def to_test_etypes(self):
return set(('Blog', 'BlogEntry',))
from cubicweb.devtools.testlib import AutomaticWebTest
def list_startup_views(self):
return ('blog_archive',)
if __name__ == '__main__': if __name__ == '__main__':
unittest_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