Skip to content

Commit

Permalink
fix missing name
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Jan 17, 2025
1 parent f8e36c1 commit 4764abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/contrib/wsgi/test_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def middleware(environ, start_response):

return middleware

app = TestApp(broken_middleware(wsgi.DDWSGIMiddleware(application, tracer=tracer), tracer))
app = TestApp(broken_middleware(DDWSGIMiddleware(application, tracer=tracer), tracer))
resp = app.get("/", headers={"X-Datadog-Parent-Id": "1234", "X-Datadog-Trace-Id": "4321"})

assert config.wsgi.distributed_tracing is True
Expand Down Expand Up @@ -461,7 +461,7 @@ def middleware(environ, start_response):

# DEV: Default is False (ignore distributed headers when there is an active span)
with override_global_config(dict(_extract_ignore_active_span=True)):
app = TestApp(broken_middleware(wsgi.DDWSGIMiddleware(application, tracer=tracer), tracer))
app = TestApp(broken_middleware(DDWSGIMiddleware(application, tracer=tracer), tracer))
resp = app.get("/", headers={"X-Datadog-Parent-Id": "1234", "X-Datadog-Trace-Id": "4321"})

assert config.wsgi.distributed_tracing is True
Expand Down

0 comments on commit 4764abc

Please sign in to comment.