Skip to content

Commit aad3cd8

Browse files
committed
lint
1 parent 85a157f commit aad3cd8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_xray.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def test_get_xray_host_port_success(self):
3434

3535
def test_send_segment_sampled_out(self):
3636
os.environ["AWS_XRAY_DAEMON_ADDRESS"] = "fake-agent.com:8080"
37-
os.environ["_X_AMZN_TRACE_ID"] = (
38-
"Root=1-5e272390-8c398be037738dc042009320;Parent=94ae789b969f1cc5;Sampled=0;Lineage=c6c5b1b9:0"
39-
)
37+
os.environ[
38+
"_X_AMZN_TRACE_ID"
39+
] = "Root=1-5e272390-8c398be037738dc042009320;Parent=94ae789b969f1cc5;Sampled=0;Lineage=c6c5b1b9:0"
4040

4141
with patch(
4242
"datadog_lambda.xray.sock.send", MagicMock(return_value=None)
@@ -47,9 +47,9 @@ def test_send_segment_sampled_out(self):
4747

4848
def test_send_segment_sampled(self):
4949
os.environ["AWS_XRAY_DAEMON_ADDRESS"] = "fake-agent.com:8080"
50-
os.environ["_X_AMZN_TRACE_ID"] = (
51-
"Root=1-5e272390-8c398be037738dc042009320;Parent=94ae789b969f1cc5;Sampled=1;Lineage=c6c5b1b9:0"
52-
)
50+
os.environ[
51+
"_X_AMZN_TRACE_ID"
52+
] = "Root=1-5e272390-8c398be037738dc042009320;Parent=94ae789b969f1cc5;Sampled=1;Lineage=c6c5b1b9:0"
5353
with patch(
5454
"datadog_lambda.xray.sock.send", MagicMock(return_value=None)
5555
) as mock_send:

0 commit comments

Comments
 (0)