This commit is contained in:
2025-04-01 19:15:10 -03:00
parent dbe7a924e2
commit ef4bfc07f3
16 changed files with 197 additions and 44 deletions

View File

@@ -4,7 +4,7 @@ from http import HTTPMethod, HTTPStatus
from ..conftest import HttpApiProxy, LambdaContext
def test_me(
def test_settings(
mock_app,
dynamodb_seeds,
http_api_proxy: HttpApiProxy,
@@ -12,10 +12,7 @@ def test_me(
):
# This data was added from seeds
r = mock_app.lambda_handler(
http_api_proxy(
raw_path='/me',
method=HTTPMethod.GET,
),
http_api_proxy(raw_path='/settings', method=HTTPMethod.GET),
lambda_context,
)
@@ -37,7 +34,7 @@ def test_me(
'roles': ['ADMIN'],
},
],
'workspaces': [
'tenants': [
{
'sk': 'cJtK9SsnJhKPyxESe7g3DG',
'name': 'Beta Educação',