web/test/test_views.py
changeset 569 94e2202ee9c3
parent 473 c0bf9e1e8b36
child 824 a5e6acffde30
equal deleted inserted replaced
568:3f6aaa6ae3b2 569:94e2202ee9c3
    37     def test_manual_tests(self):
    37     def test_manual_tests(self):
    38         rset = self.execute('Any P,F,S WHERE P is EUser, P firstname F, P surname S')
    38         rset = self.execute('Any P,F,S WHERE P is EUser, P firstname F, P surname S')
    39         self.view('table', rset, template=None, displayfilter=True, displaycols=[0,2])
    39         self.view('table', rset, template=None, displayfilter=True, displaycols=[0,2])
    40         rset = self.execute('Any P,F,S LIMIT 1 WHERE P is EUser, P firstname F, P surname S')
    40         rset = self.execute('Any P,F,S LIMIT 1 WHERE P is EUser, P firstname F, P surname S')
    41         rset.req.form['rtype'] = 'firstname'
    41         rset.req.form['rtype'] = 'firstname'
    42         self.view('editrelation', rset, template=None, htmlcheck=False)
    42         self.view('editrelation', rset, template=None)
    43         rset.req.form['rtype'] = 'use_email'
    43         rset.req.form['rtype'] = 'use_email'
    44         self.view('editrelation', rset, template=None, htmlcheck=False)
    44         self.view('editrelation', rset, template=None)
    45         
    45         
    46 
    46 
    47     def test_sortable_js_added(self):
    47     def test_sortable_js_added(self):
    48         rset = self.execute('EUser X')
    48         rset = self.execute('EUser X')
    49         # sortable.js should not be included by default
    49         # sortable.js should not be included by default