Revision fde2c1f7 snf-django-lib/snf_django/utils/testing.py
b/snf-django-lib/snf_django/utils/testing.py | ||
---|---|---|
237 | 237 |
def assertBadRequest(self, response): |
238 | 238 |
self.assertFault(response, 400, 'badRequest') |
239 | 239 |
|
240 |
def assertConflict(self, response): |
|
241 |
self.assertFault(response, 409, 'conflict') |
|
242 |
|
|
240 | 243 |
def assertItemNotFound(self, response): |
241 | 244 |
self.assertFault(response, 404, 'itemNotFound') |
242 | 245 |
|
Also available in: Unified diff