diff --git a/test/unit/proxy/controllers/test_account.py b/test/unit/proxy/controllers/test_account.py index fd348b53a1..c7ef854d1b 100644 --- a/test/unit/proxy/controllers/test_account.py +++ b/test/unit/proxy/controllers/test_account.py @@ -261,12 +261,12 @@ class TestAccountController(unittest.TestCase): def test_response_code_for_PUT(self): PUT_TEST_CASES = [ - ((200, 200, 200), 200), - ((200, 200, 404), 200), - ((200, 200, 503), 200), - ((200, 404, 404), 404), - ((200, 404, 503), 503), - ((200, 503, 503), 503), + ((201, 201, 201), 201), + ((201, 201, 404), 201), + ((201, 201, 503), 201), + ((201, 404, 404), 404), + ((201, 404, 503), 503), + ((201, 503, 503), 503), ((404, 404, 404), 404), ((404, 404, 503), 404), ((404, 503, 503), 503), @@ -317,16 +317,16 @@ class TestAccountController4Replicas(TestAccountController): def test_response_code_for_PUT(self): PUT_TEST_CASES = [ - ((200, 200, 200, 200), 200), - ((200, 200, 200, 404), 200), - ((200, 200, 200, 503), 200), - ((200, 200, 404, 404), 503), - ((200, 200, 404, 503), 503), - ((200, 200, 503, 503), 503), - ((200, 404, 404, 404), 404), - ((200, 404, 404, 503), 503), - ((200, 404, 503, 503), 503), - ((200, 503, 503, 503), 503), + ((201, 201, 201, 201), 201), + ((201, 201, 201, 404), 201), + ((201, 201, 201, 503), 201), + ((201, 201, 404, 404), 503), + ((201, 201, 404, 503), 503), + ((201, 201, 503, 503), 503), + ((201, 404, 404, 404), 404), + ((201, 404, 404, 503), 503), + ((201, 404, 503, 503), 503), + ((201, 503, 503, 503), 503), ((404, 404, 404, 404), 404), ((404, 404, 404, 503), 404), ((404, 404, 503, 503), 503), diff --git a/test/unit/proxy/controllers/test_container.py b/test/unit/proxy/controllers/test_container.py index ce9a7d762a..afa89d1334 100644 --- a/test/unit/proxy/controllers/test_container.py +++ b/test/unit/proxy/controllers/test_container.py @@ -219,12 +219,12 @@ class TestContainerController(TestRingBase): def test_response_code_for_PUT(self): PUT_TEST_CASES = [ - ((200, 200, 200), 200), - ((200, 200, 404), 200), - ((200, 200, 503), 200), - ((200, 404, 404), 404), - ((200, 404, 503), 503), - ((200, 503, 503), 503), + ((201, 201, 201), 201), + ((201, 201, 404), 201), + ((201, 201, 503), 201), + ((201, 404, 404), 404), + ((201, 404, 503), 503), + ((201, 503, 503), 503), ((404, 404, 404), 404), ((404, 404, 503), 404), ((404, 503, 503), 503), @@ -304,16 +304,16 @@ class TestContainerController4Replicas(TestContainerController): def test_response_code_for_PUT(self): PUT_TEST_CASES = [ - ((200, 200, 200, 200), 200), - ((200, 200, 200, 404), 200), - ((200, 200, 200, 503), 200), - ((200, 200, 404, 404), 503), - ((200, 200, 404, 503), 503), - ((200, 200, 503, 503), 503), - ((200, 404, 404, 404), 404), - ((200, 404, 404, 503), 503), - ((200, 404, 503, 503), 503), - ((200, 503, 503, 503), 503), + ((201, 201, 201, 201), 201), + ((201, 201, 201, 404), 201), + ((201, 201, 201, 503), 201), + ((201, 201, 404, 404), 503), + ((201, 201, 404, 503), 503), + ((201, 201, 503, 503), 503), + ((201, 404, 404, 404), 404), + ((201, 404, 404, 503), 503), + ((201, 404, 503, 503), 503), + ((201, 503, 503, 503), 503), ((404, 404, 404, 404), 404), ((404, 404, 404, 503), 404), ((404, 404, 503, 503), 503),