@@ -49,7 +49,7 @@ def setUp(self):
4949 }
5050 }
5151 self .response_mock = response_mock
52- self .expected_output = u """{
52+ self .expected_output = """{
5353 "url": "https://api.trustpilot.com/v1/business-units/5400267300006400057a0113/reviews",
5454 "status": 401,
5555 "content": {
@@ -62,7 +62,7 @@ def setUp(self):
6262 }
6363 }
6464 """
65- self .expected_verbose_output = u """{
65+ self .expected_verbose_output = """{
6666 "url": "https://api.trustpilot.com/v1/business-units/5400267300006400057a0113/reviews",
6767 "status": 401,
6868 "headers": {
@@ -106,7 +106,6 @@ def test_create_access_token(self, client_mock):
106106 @mock .patch ("trustpilot.cli.client" , autospec = True )
107107 @mock .patch ("trustpilot.cli.auth" )
108108 def test_no_verbosity_with_get (self , auth_mock , client_mock ):
109-
110109 client_mock .get .return_value = self .response_mock
111110
112111 result = self .runner .invoke (
@@ -278,7 +277,6 @@ def assert_output_equal(self, output, expected_output):
278277 @mock .patch ("trustpilot.cli.client" , autospec = True )
279278 @mock .patch ("trustpilot.cli.auth" )
280279 def test_no_verbosity_with_get (self , auth_mock , client_mock ):
281-
282280 client_mock .get .return_value = self .response_mock
283281
284282 result = self .runner .invoke (
0 commit comments