--- a/web/test/test_views.py Thu Feb 17 16:08:20 2011 +0100
+++ b/web/test/test_views.py Thu Feb 17 16:46:18 2011 +0100
@@ -20,11 +20,12 @@
from cubicweb.devtools.testlib import CubicWebTC, AutoPopulateTest, AutomaticWebTest
from cubicweb.view import AnyRsetView
-AutomaticWebTest.application_rql = [
- 'Any L,F WHERE E is CWUser, E login L, E firstname F',
- 'Any L,F,E WHERE E is CWUser, E login L, E firstname F',
- 'Any COUNT(X) WHERE X is CWUser',
- ]
+class AutomaticWebTest(AutomaticWebTest):
+ application_rql = [
+ 'Any L,F WHERE E is CWUser, E login L, E firstname F',
+ 'Any L,F,E WHERE E is CWUser, E login L, E firstname F',
+ 'Any COUNT(X) WHERE X is CWUser',
+ ]
class SomeView(AnyRsetView):
--- a/web/test/test_windmill.py Thu Feb 17 16:08:20 2011 +0100
+++ b/web/test/test_windmill.py Thu Feb 17 16:46:18 2011 +0100
@@ -2,5 +2,7 @@
from cubicweb.devtools.cwwindmill import (CubicWebWindmillUseCase,
unittest_main)
+class CubicWebWindmillUseCase(CubicWebWindmillUseCase): pass
+
if __name__ == '__main__':
unittest_main()