@@ -152,7 +152,7 @@ def test_code_owner_path_mapping_with_catch_all(
152
152
),
153
153
)
154
154
@ddt .unpack
155
- def test_code_owner_transaction_mapping_hits_and_misses (
155
+ def test_code_owner_transaction_mapping_hits_and_misses ( # pylint: disable=too-many-positional-arguments
156
156
self , path_module , transaction_name , expected_owner , mock_newrelic_agent , mock_set_custom_attribute , _
157
157
):
158
158
mock_newrelic_agent .current_transaction ().name = transaction_name
@@ -199,7 +199,7 @@ def test_code_owner_transaction_mapping_hits_and_misses(
199
199
),
200
200
)
201
201
@ddt .unpack
202
- def test_code_owner_transaction_mapping_with_catch_all (
202
+ def test_code_owner_transaction_mapping_with_catch_all ( # pylint: disable=too-many-positional-arguments
203
203
self , path_module , transaction_name , expected_owner , mock_newrelic_agent , mock_set_custom_attribute , _
204
204
):
205
205
mock_newrelic_agent .current_transaction ().name = transaction_name
@@ -288,10 +288,11 @@ def test_load_config_with_invalid_dict(self):
288
288
with self .assertRaises (TypeError ):
289
289
self .middleware (request )
290
290
291
- def _assert_code_owner_custom_attributes (self , mock_set_custom_attribute , expected_code_owner = None ,
292
- path_module = None , has_path_error = False ,
293
- transaction_name = None , has_transaction_error = False ,
294
- check_theme_and_squad = False ):
291
+ def _assert_code_owner_custom_attributes ( # pylint: disable=too-many-positional-arguments
292
+ self , mock_set_custom_attribute , expected_code_owner = None ,
293
+ path_module = None , has_path_error = False ,
294
+ transaction_name = None , has_transaction_error = False ,
295
+ check_theme_and_squad = False ):
295
296
""" Performs a set of assertions around having set the proper custom attributes. """
296
297
call_list = []
297
298
if expected_code_owner :
0 commit comments