Skip to content

Commit baacb19

Browse files
authored
tests: bump ddtrace 0.46.0 (#247)
1 parent d175280 commit baacb19

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ setup_requires =
4949

5050
[options.extras_require]
5151
apm =
52-
ddtrace>=0.45.0
52+
ddtrace>=0.46.0
5353
tests =
5454
glom
5555
flexmock>=0.10.4

tests/conftest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ def write(self, *args, **kwargs):
2828

2929
tracer.writer.stop()
3030
tracer.writer = Writer(
31-
hostname=tracer.writer.api.hostname,
32-
port=tracer.writer.api.port,
33-
uds_path=tracer.writer.api.uds_path,
34-
https=tracer.writer.api.https,
31+
hostname=tracer.writer._hostname,
32+
port=tracer.writer._port,
33+
uds_path=tracer.writer._uds_path,
34+
https=tracer.writer._https,
3535
)
3636

3737
import pytest
@@ -229,7 +229,7 @@ def vcr_config():
229229
filter_query_parameters=("api_key", "application_key"),
230230
)
231231
if tracer:
232-
config["ignore_hosts"] = [tracer.writer.api.hostname]
232+
config["ignore_hosts"] = [tracer.writer._hostname]
233233

234234
return config
235235

0 commit comments

Comments
 (0)