@@ -47,7 +47,7 @@ def test_get_non_exists_model_attribute_complete_model(
4747 client = client , data = {"id" : 1 , "name" : "name" , "description" : "description" }
4848 )
4949 with pytest .raises (AttributeError ):
50- bound_model .content
50+ _ = bound_model .content
5151 client .get_by_id .assert_not_called ()
5252
5353 def test_get_exists_model_attribute_incomplete_model (
@@ -77,7 +77,7 @@ def test_get_non_exists_model_attribute_incomplete_model(
7777 ):
7878 bound_model = bound_model_class (client = client , data = {"id" : 1 }, complete = False )
7979 with pytest .raises (AttributeError ):
80- bound_model .content
80+ _ = bound_model .content
8181 client .get_by_id .assert_not_called ()
8282 assert bound_model .complete is False
8383
@@ -137,7 +137,7 @@ def get_actions_list(self, status, page=None, per_page=None):
137137 def test_iter_pages_no_meta (self , client_class_constructor ):
138138 json_content = {"candies" : [1 , 2 ]}
139139
140- def json_content_function (p ):
140+ def json_content_function (_ ):
141141 return json_content
142142
143143 candies_client = client_class_constructor (json_content_function )
@@ -152,7 +152,7 @@ def test_iter_pages_no_next_page(self, client_class_constructor):
152152 "meta" : {"pagination" : {"page" : 1 , "per_page" : 11 , "next_page" : None }},
153153 }
154154
155- def json_content_function (p ):
155+ def json_content_function (_ ):
156156 return json_content
157157
158158 candies_client = client_class_constructor (json_content_function )
@@ -218,7 +218,7 @@ def json_content_function(p):
218218 def test_get_first_by_result_exists (self , client_class_constructor ):
219219 json_content = {"candies" : [1 ]}
220220
221- def json_content_function (p ):
221+ def json_content_function (_ ):
222222 return json_content
223223
224224 candies_client = client_class_constructor (json_content_function )
@@ -230,7 +230,7 @@ def json_content_function(p):
230230 def test_get_first_by_result_does_not_exist (self , client_class_constructor ):
231231 json_content = {"candies" : []}
232232
233- def json_content_function (p ):
233+ def json_content_function (_ ):
234234 return json_content
235235
236236 candies_client = client_class_constructor (json_content_function )
0 commit comments