ext/test/unittest_rest.py
changeset 10952 4f28cb25b6c1
parent 9856 156a3fb4a884
child 10953 8b8193046600
equal deleted inserted replaced
10792:daef7ce08fea 10952:4f28cb25b6c1
    56 | *-*  | N1#N2           |
    56 | *-*  | N1#N2           |
    57 --------------------------
    57 --------------------------
    58 
    58 
    59 ''')
    59 ''')
    60 
    60 
       
    61     def test_disable_field_name_colspan(self):
       
    62         with self.admin_access.web_request() as req:
       
    63             context = self.context(req)
       
    64             value = rest_publish(context, '''my field list:
       
    65 
       
    66 :a long dumb param name: value
       
    67 ''')
       
    68             self.assertNotIn('colspan', value)
    61 
    69 
    62     def test_rql_role_with_vid(self):
    70     def test_rql_role_with_vid(self):
    63         with self.admin_access.web_request() as req:
    71         with self.admin_access.web_request() as req:
    64             context = self.context(req)
    72             context = self.context(req)
    65             out = rest_publish(context, ':rql:`Any X WHERE X is CWUser:table`')
    73             out = rest_publish(context, ':rql:`Any X WHERE X is CWUser:table`')