Skip to content

Commit fcc62f4

Browse files
adriangbemdneto
andauthored
remove unused funcs
Co-authored-by: Emídio Neto <[email protected]>
1 parent 8fcf4ec commit fcc62f4

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,26 +1072,6 @@ def client_response_hook(send_span, scope, message):
10721072
)
10731073

10741074

1075-
def mock_version_with_fastapi(*args, **kwargs):
1076-
req_name = args[0]
1077-
if req_name == "fastapi":
1078-
# TODO: Value now matters
1079-
return "0.109"
1080-
raise PackageNotFoundError()
1081-
1082-
1083-
def mock_version_with_old_fastapi(*args, **kwargs):
1084-
req_name = args[0]
1085-
if req_name == "fastapi":
1086-
# TODO: Value now matters
1087-
return "0.92"
1088-
raise PackageNotFoundError()
1089-
1090-
1091-
def mock_version_without_fastapi(*args, **kwargs):
1092-
raise PackageNotFoundError()
1093-
1094-
10951075
class TestAutoInstrumentation(TestBaseAutoFastAPI):
10961076
"""Test the auto-instrumented variant
10971077

0 commit comments

Comments
 (0)