web/test/unittest_application.py
changeset 9064 2e64254548ca
parent 9039 488255d1cf3b
child 9065 b1cad8e4557f
equal deleted inserted replaced
9063:383d45cf61fa 9064:2e64254548ca
   172         user = self.user()
   172         user = self.user()
   173         self.assertEqual(user.groups, set(('managers', 'guests')))
   173         self.assertEqual(user.groups, set(('managers', 'guests')))
   174         # cleanup
   174         # cleanup
   175         self.execute('DELETE X in_group G WHERE X eid %s, G name "guests"' % user.eid)
   175         self.execute('DELETE X in_group G WHERE X eid %s, G name "guests"' % user.eid)
   176         self.commit()
   176         self.commit()
   177 
       
   178     def test_nonregr_publish1(self):
       
   179         req = self.request(u'CWEType X WHERE X final FALSE, X meta FALSE')
       
   180         self.app.handle_request(req, 'view')
       
   181 
       
   182     def test_nonregr_publish2(self):
       
   183         req = self.request(u'Any count(N) WHERE N todo_by U, N is Note, U eid %s'
       
   184                            % self.user().eid)
       
   185         self.app.handle_request(req, 'view')
       
   186 
   177 
   187     def test_publish_validation_error(self):
   178     def test_publish_validation_error(self):
   188         req = self.request()
   179         req = self.request()
   189         user = self.user()
   180         user = self.user()
   190         eid = unicode(user.eid)
   181         eid = unicode(user.eid)