@@ -81,7 +81,7 @@ def test_restart(self):
8181
8282 app = self .client .v3 .apps .restart ("app_id" )
8383 self .assertIsInstance (app , JsonObject )
84- self .assertEquals ("my_app" , app ["name" ])
84+ self .assertEqual ("my_app" , app ["name" ])
8585
8686 def test_remove (self ):
8787 self .client .delete .return_value = self .mock_response ("/v3/apps/app_id" , HTTPStatus .NO_CONTENT , None )
@@ -94,15 +94,15 @@ def test_get_env(self):
9494 )
9595 env = self .client .v3 .apps .get_env ("app_id" )
9696 self .assertIsInstance (env , JsonObject )
97- self .assertEquals (env ["application_env_json" ]["VCAP_APPLICATION" ]["limits" ]["fds" ], 16384 )
97+ self .assertEqual (env ["application_env_json" ]["VCAP_APPLICATION" ]["limits" ]["fds" ], 16384 )
9898
9999 def test_get_routes (self ):
100100 self .client .get .return_value = self .mock_response (
101101 "/v3/apps/app_id/routes" , HTTPStatus .OK , None , "v3" , "apps" , "GET_{id}_routes_response.json"
102102 )
103103 routes = self .client .v3 .apps .get_routes ("app_id" )
104104 self .assertIsInstance (routes , JsonObject )
105- self .assertEquals (routes ["resources" ][0 ]["destinations" ][0 ]["guid" ], "385bf117-17f5-4689-8c5c-08c6cc821fed" )
105+ self .assertEqual (routes ["resources" ][0 ]["destinations" ][0 ]["guid" ], "385bf117-17f5-4689-8c5c-08c6cc821fed" )
106106
107107 def test_get_include_space_and_org (self ):
108108 self .client .get .return_value = self .mock_response (
0 commit comments