[web/test] drop two undocumented suspicious regression test
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 24 Jun 2013 18:23:48 +0200
changeset 9064 2e64254548ca
parent 9063 383d45cf61fa
child 9065 b1cad8e4557f
[web/test] drop two undocumented suspicious regression test Those two test are not documented and use the API in the wrong way. They do not raise exception by chance. the current request signature is:: def request(self, rollbackfirst=False, url=None, headers={}, **kwargs): So the RQL have nothing to do here.
web/test/unittest_application.py
--- a/web/test/unittest_application.py	Mon Jun 24 19:27:31 2013 +0200
+++ b/web/test/unittest_application.py	Mon Jun 24 18:23:48 2013 +0200
@@ -175,15 +175,6 @@
         self.execute('DELETE X in_group G WHERE X eid %s, G name "guests"' % user.eid)
         self.commit()
 
-    def test_nonregr_publish1(self):
-        req = self.request(u'CWEType X WHERE X final FALSE, X meta FALSE')
-        self.app.handle_request(req, 'view')
-
-    def test_nonregr_publish2(self):
-        req = self.request(u'Any count(N) WHERE N todo_by U, N is Note, U eid %s'
-                           % self.user().eid)
-        self.app.handle_request(req, 'view')
-
     def test_publish_validation_error(self):
         req = self.request()
         user = self.user()