Revision 84f2756e test/ganeti.rapi.resources_unittest.py
b/test/ganeti.rapi.resources_unittest.py | ||
---|---|---|
43 | 43 |
self.assertEquals(self.map.getController(uri), result) |
44 | 44 |
|
45 | 45 |
def _TestFailingUri(self, uri): |
46 |
self.failUnlessRaises(http.HTTPNotFound, self.map.getController, uri)
|
|
46 |
self.failUnlessRaises(http.HttpNotFound, self.map.getController, uri)
|
|
47 | 47 |
|
48 | 48 |
def testMapper(self): |
49 | 49 |
"""Testing Mapper""" |
Also available in: Unified diff