equal
deleted
inserted
replaced
93 def testErrorOnNonExistantEntity(self): |
93 def testErrorOnNonExistantEntity(self): |
94 """ |
94 """ |
95 """ |
95 """ |
96 |
96 |
97 request = MockRequest("/test/public") |
97 request = MockRequest("/test/public") |
|
98 request.start() |
98 access_type = "show" |
99 access_type = "show" |
99 page_name = "Show Test" |
100 page_name = "Show Test" |
100 django_args = {'link_id': 'foo', 'scope_path': 'bar'} |
101 django_args = {'link_id': 'foo', 'scope_path': 'bar'} |
101 actual = self.view.public(request, access_type, page_name=page_name, **django_args) |
102 actual = self.view.public(request, access_type, page_name=page_name, **django_args) |
|
103 request.end() |
102 self.assertTrue('error' in actual) |
104 self.assertTrue('error' in actual) |