|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | | -import pytest |
16 | | - |
17 | | -from testing_support.fixtures import (code_coverage_fixture, |
18 | | - collector_agent_registration_fixture, collector_available_fixture) |
| 15 | +from testing_support.fixtures import ( # noqa: F401; pylint: disable=W0611 |
| 16 | + code_coverage_fixture, |
| 17 | + collector_agent_registration_fixture, |
| 18 | + collector_available_fixture, |
| 19 | +) |
19 | 20 |
|
20 | 21 | _coverage_source = [ |
21 | | - 'newrelic.hooks.datastore_pymongo', |
| 22 | + "newrelic.hooks.datastore_pymongo", |
22 | 23 | ] |
23 | 24 |
|
24 | 25 | code_coverage = code_coverage_fixture(source=_coverage_source) |
25 | 26 |
|
26 | 27 | _default_settings = { |
27 | | - 'transaction_tracer.explain_threshold': 0.0, |
28 | | - 'transaction_tracer.transaction_threshold': 0.0, |
29 | | - 'transaction_tracer.stack_trace_threshold': 0.0, |
30 | | - 'debug.log_data_collector_payloads': True, |
31 | | - 'debug.record_transaction_failure': True |
| 28 | + "transaction_tracer.explain_threshold": 0.0, |
| 29 | + "transaction_tracer.transaction_threshold": 0.0, |
| 30 | + "transaction_tracer.stack_trace_threshold": 0.0, |
| 31 | + "debug.log_data_collector_payloads": True, |
| 32 | + "debug.record_transaction_failure": True, |
32 | 33 | } |
33 | 34 |
|
34 | 35 | collector_agent_registration = collector_agent_registration_fixture( |
35 | | - app_name='Python Agent Test (datastore_pymongo)', |
36 | | - default_settings=_default_settings, |
37 | | - linked_applications=['Python Agent Test (datastore)']) |
| 36 | + app_name="Python Agent Test (datastore_pymongo)", |
| 37 | + default_settings=_default_settings, |
| 38 | + linked_applications=["Python Agent Test (datastore)"], |
| 39 | +) |
0 commit comments