diff --git a/tests/mock_swift.py b/tests/mock_swift.py index 5703c63..ecaa2fc 100644 --- a/tests/mock_swift.py +++ b/tests/mock_swift.py @@ -84,7 +84,7 @@ class SwiftHTTPRequestHandler(BaseHTTPRequestHandler): try: objs = set(['%s/result.tar' % r for r in self.results[container]]) except KeyError: - self.send_error(404, 'Container does not exist') + self.send_error(401, 'Container does not exist') return if 'prefix' in query: p = query['prefix'][-1]