From c0389de3585fadb38dc708d16ec81b484b443fe5 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Fri, 15 Nov 2024 09:26:09 -0600 Subject: [PATCH] Expect "201 Created" response actually --- sdx_controller/test/test_l2vpn_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdx_controller/test/test_l2vpn_controller.py b/sdx_controller/test/test_l2vpn_controller.py index 53ff8a7..84bcba6 100644 --- a/sdx_controller/test/test_l2vpn_controller.py +++ b/sdx_controller/test/test_l2vpn_controller.py @@ -609,7 +609,7 @@ def test_issue_356(self): print(f"POST response body is : {response.data.decode('utf-8')}") print(f"POST Response JSON is : {response.get_json()}") - self.assertStatus(response, 200) + self.assertStatus(response, 201) if __name__ == "__main__":