add postgres

This commit is contained in:
2025-08-26 00:00:42 -03:00
parent 1326530991
commit e33eccebb9
43 changed files with 622 additions and 636 deletions

View File

@@ -9,6 +9,11 @@ import pytest
def pytest_configure():
os.environ['TZ'] = 'America/Sao_Paulo'
os.environ['MEILISEARCH_HOST'] = 'http://127.0.0.1:7700'
os.environ['POSTGRES_DB'] = 'pytest'
os.environ['POSTGRES_HOST'] = 'localhost'
os.environ['POSTGRES_PORT'] = '5432'
os.environ['POSTGRES_USER'] = 'postgres'
os.environ['POSTGRES_PASSWORD'] = 'pgsql@pwd'
def load_jsonfile(path: str) -> dict:

View File

@@ -1,5 +0,0 @@
import app.events.replicate_into_meili as app
def test_record_handler(dynamodb_stream_event, lambda_context):
app.lambda_handler(dynamodb_stream_event, lambda_context)