Revision 2ef199c9
b/snf-django-lib/snf_django/utils/testing.py | ||
---|---|---|
243 | 243 |
def assertItemNotFound(self, response): |
244 | 244 |
self.assertFault(response, 404, 'itemNotFound') |
245 | 245 |
|
246 |
def assertConflict(self, response): |
|
247 |
self.assertFault(response, 409, "conflict") |
|
248 |
|
|
246 | 249 |
def assertMethodNotAllowed(self, response): |
247 | 250 |
self.assertFault(response, 400, 'badRequest') |
248 | 251 |
try: |
Also available in: Unified diff