Created
July 10, 2014 16:47
-
-
Save alistairncoles/396cb484e12c7ff92e5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/unit/proxy/test_server.py b/test/unit/proxy/test_server.py | |
index 9eeaafb..e3ce782 100644 | |
--- a/test/unit/proxy/test_server.py | |
+++ b/test/unit/proxy/test_server.py | |
@@ -5178,17 +5178,16 @@ class TestContainerController(unittest.TestCase): | |
self.assert_status_map(controller.PUT, | |
(200, 201, 201, 201), 201, | |
missing_container=True) | |
- | |
self.app.max_containers_per_account = 12345 | |
controller = proxy_server.ContainerController(self.app, 'account', | |
'container') | |
- self.assert_status_map(controller.PUT, (200, 201, 201, 201), 201, | |
- missing_container=True) | |
+ self.assert_status_map(controller.PUT, (200, 200, 201, 201, 201), | |
+ 201, missing_container=True) | |
controller = proxy_server.ContainerController(self.app, 'account', | |
'container_new') | |
- self.assert_status_map(controller.PUT, (404, 404, 201), 403, | |
+ self.assert_status_map(controller.PUT, (200, 404, 404, 404), 403, | |
missing_container=True) | |
self.app.max_containers_per_account = 12345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment