Skip to content

Commit

Permalink
add test for pinpoint-apm#562
Browse files Browse the repository at this point in the history
  • Loading branch information
eeliu committed Nov 23, 2023
1 parent 9ec1bde commit 5a45ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/PY/pinpointPy/Fastapi/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async def read_main(name, request: Request):
def test_request_example(self):
response = self.client.get("/cluster/abc")
assert "ut" in response.headers
self.assertEqual(response.headers['ut'], "/cluster/{name}")


if __name__ == '__main__':
Expand Down

0 comments on commit 5a45ead

Please sign in to comment.