equal
deleted
inserted
replaced
24 |
24 |
25 def test_error_raised(self): |
25 def test_error_raised(self): |
26 class MyWebTest(CubicWebTC): |
26 class MyWebTest(CubicWebTC): |
27 |
27 |
28 def test_error_view(self): |
28 def test_error_view(self): |
29 self.add_entity('Bug', title=u"bt") |
29 self.request().create_entity('Bug', title=u"bt") |
30 self.view('raising', self.execute('Bug B'), template=None) |
30 self.view('raising', self.execute('Bug B'), template=None) |
31 |
31 |
32 def test_correct_view(self): |
32 def test_correct_view(self): |
33 self.view('primary', self.execute('CWUser U'), template=None) |
33 self.view('primary', self.execute('CWUser U'), template=None) |
34 |
34 |