--- a/web/test/unittest_viewselector.py Thu Sep 11 16:43:20 2014 +0200
+++ b/web/test/unittest_viewselector.py Fri Aug 08 13:05:07 2014 +0200
@@ -107,8 +107,11 @@
def test_possible_views_noresult(self):
with self.admin_access.web_request() as req:
rset = req.execute('Any X WHERE X eid 999999')
- self.assertListEqual([('jsonexport', json.JsonRsetView)],
- self.pviews(req, rset))
+ self.assertListEqual(self.pviews(req, rset),
+ [('csvexport', csvexport.CSVRsetView),
+ ('ecsvexport', csvexport.CSVEntityView),
+ ('jsonexport', json.JsonRsetView),
+ ])
def test_possible_views_one_egroup(self):
with self.admin_access.web_request() as req:
@@ -214,6 +217,7 @@
rset = req.execute('Any N, X WHERE X in_group Y, Y name N')
self.assertListEqual(self.pviews(req, rset),
[('csvexport', csvexport.CSVRsetView),
+ ('ecsvexport', csvexport.CSVEntityView),
('jsonexport', json.JsonRsetView),
('rsetxml', xmlrss.XMLRsetView),
('table', tableview.RsetTableView),