Skip to content

Commit 8617999

Browse files
refactor(parser): convert functional tests to unit tests (#2656)
Co-authored-by: Heitor Lessa <[email protected]>
1 parent c1d8732 commit 8617999

33 files changed

+1495
-1598
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"Records": [
3+
{
4+
"kinesis": {
5+
"kinesisSchemaVersion": "1.0",
6+
"partitionKey": "1",
7+
"sequenceNumber": "49590338271490256608559692538361571095921575989136588898",
8+
"data": "eyJtZXNzYWdlIjogInRlc3QgbWVzc2FnZSIsICJ1c2VybmFtZSI6ICJ0ZXN0In0=",
9+
"approximateArrivalTimestamp": 1545084650.987
10+
},
11+
"eventSource": "aws:kinesis",
12+
"eventVersion": "1.0",
13+
"eventID": "shardId-000000000006:49590338271490256608559692538361571095921575989136588898",
14+
"eventName": "aws:kinesis:record",
15+
"invokeIdentityArn": "arn:aws:iam::123456789012:role/lambda-role",
16+
"awsRegion": "us-east-2",
17+
"eventSourceARN": "arn:aws:kinesis:us-east-2:123456789012:stream/lambda-stream"
18+
}
19+
]
20+
}

tests/functional/parser/__init__.py

Whitespace-only changes.

tests/functional/parser/test_alb.py

-44
This file was deleted.

tests/functional/parser/test_apigw.py

-152
This file was deleted.

tests/functional/parser/test_apigwv2.py

-105
This file was deleted.

0 commit comments

Comments
 (0)