64 def test_possible_views_none_rset(self): |
64 def test_possible_views_none_rset(self): |
65 req = self.request() |
65 req = self.request() |
66 self.assertListEqual(self.pviews(req, None), |
66 self.assertListEqual(self.pviews(req, None), |
67 [('changelog', wdoc.ChangeLogView), |
67 [('changelog', wdoc.ChangeLogView), |
68 ('debug', debug.DebugView), |
68 ('debug', debug.DebugView), |
69 ('epropertiesform', cwproperties.EPropertiesForm), |
|
70 ('index', startup.IndexView), |
69 ('index', startup.IndexView), |
71 ('info', management.ProcessInformationView), |
70 ('info', management.ProcessInformationView), |
72 ('manage', startup.ManageView), |
71 ('manage', startup.ManageView), |
73 ('owl', owl.OWLView), |
72 ('owl', owl.OWLView), |
|
73 ('propertiesform', cwproperties.CWPropertiesForm), |
74 ('schema', startup.SchemaView), |
74 ('schema', startup.SchemaView), |
75 ('systemepropertiesform', cwproperties.SystemEPropertiesForm)]) |
75 ('systempropertiesform', cwproperties.SystemCWPropertiesForm)]) |
76 |
76 |
77 def test_possible_views_noresult(self): |
77 def test_possible_views_noresult(self): |
78 rset, req = self.env.get_rset_and_req('Any X WHERE X eid 999999') |
78 rset, req = self.env.get_rset_and_req('Any X WHERE X eid 999999') |
79 self.assertListEqual(self.pviews(req, rset), |
79 self.assertListEqual(self.pviews(req, rset), |
80 []) |
80 []) |