Skip to content

Commit 56bcdb3

Browse files
committed
update unit tests
1 parent 1d488f4 commit 56bcdb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_trigger.py

+3
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def test_extract_trigger_tags_api_gateway(self):
258258
"http.url": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com",
259259
"http.url_details.path": "/prod/path/to/resource",
260260
"http.method": "POST",
261+
"http.route": "/{proxy+}",
261262
},
262263
)
263264

@@ -276,6 +277,7 @@ def test_extract_trigger_tags_api_gateway_non_proxy(self):
276277
"http.url": "lgxbo6a518.execute-api.eu-west-1.amazonaws.com",
277278
"http.url_details.path": "/dev/http/get",
278279
"http.method": "GET",
280+
"http.route": "/http/get",
279281
},
280282
)
281283

@@ -342,6 +344,7 @@ def test_extract_trigger_tags_api_gateway_http_api(self):
342344
"http.url": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com",
343345
"http.url_details.path": "/httpapi/get",
344346
"http.method": "GET",
347+
"http.route": "GET /httpapi/get",
345348
},
346349
)
347350

0 commit comments

Comments
 (0)