wip subscription org
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import app.events.enroll as app
|
||||
from aws_lambda_powertools.utilities.typing import LambdaContext
|
||||
from layercake.dynamodb import DynamoDBPersistenceLayer, PartitionKey
|
||||
from layercake.dynamodb import DynamoDBPersistenceLayer
|
||||
|
||||
|
||||
def test_enroll(
|
||||
@@ -17,10 +17,4 @@ def test_enroll(
|
||||
}
|
||||
}
|
||||
}
|
||||
ids = app.lambda_handler(event, lambda_context) # type: ignore
|
||||
print(ids)
|
||||
|
||||
result = dynamodb_persistence_layer.collection.query(PartitionKey(str(ids[0])))
|
||||
print(result)
|
||||
|
||||
# assert len(result['items']) == 4
|
||||
assert app.lambda_handler(event, lambda_context) # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user