web/test/test_views.py
changeset 8961 cc1a0aad580c
parent 8941 7b26fe71404f
child 9836 71045bb09136
--- a/web/test/test_views.py	Thu May 02 14:30:36 2013 +0200
+++ b/web/test/test_views.py	Thu May 02 15:58:57 2013 +0200
@@ -27,6 +27,14 @@
         'Any COUNT(X) WHERE X is CWUser',
         ]
 
+    def to_test_etypes(self):
+        # We do not really want to test cube views here. So we can drop testing 
+        # some EntityType. The two Blog types below require the sioc cube that 
+        # we do not want to add as a dependency.
+        etypes = super(AutomaticWebTest, self).to_test_etypes()
+        etypes -= set(('Blog', 'BlogEntry'))
+        return etypes
+
 
 class SomeView(AnyRsetView):
     __regid__ = 'someview'