diff --git a/glance/tests/functional/store_utils.py b/glance/tests/functional/store_utils.py index 533e756a7e..27474901f2 100644 --- a/glance/tests/functional/store_utils.py +++ b/glance/tests/functional/store_utils.py @@ -62,6 +62,12 @@ def do_GET(self): self.send_error(404, 'File Not Found: %s' % self.path) return + def log_message(self, format, *args): + """ + Simple override to prevent writing crap to stderr... + """ + pass + def setup_http(test): server_class = BaseHTTPServer.HTTPServer diff --git a/glance/tests/functional/test_api.py b/glance/tests/functional/test_api.py index 8359324424..60e18cf5f0 100644 --- a/glance/tests/functional/test_api.py +++ b/glance/tests/functional/test_api.py @@ -1039,7 +1039,6 @@ def test_limited_images(self): self.assertEqual(response.status, 200) images = json.loads(content)['images'] self.assertEqual(len(images), 3) - print images # 3. GET /images with limit of 2 # Verify only two images were returned