add turborepo

This commit is contained in:
2025-11-04 13:45:02 -03:00
parent fef60f2ae0
commit 6e0d1fec13
65 changed files with 21351 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ def pytest_configure():
os.environ['TZ'] = 'America/Sao_Paulo'
os.environ['DYNAMODB_PARTITION_KEY'] = PK
os.environ['DYNAMODB_SORT_KEY'] = SK
os.environ['DOCSEAL_KEY'] = 'gUWhWtYBgTaP8fc1q5GZ6JuUHaZzMgZna6KFBHz3Gzk'
os.environ['DOCUSEAL_KEY'] = 'gUWhWtYBgTaP8fc1q5GZ6JuUHaZzMgZna6KFBHz3Gzk'
os.environ['USER_TABLE'] = PYTEST_TABLE_NAME
os.environ['COURSE_TABLE'] = PYTEST_TABLE_NAME
os.environ['ENROLLMENT_TABLE'] = PYTEST_TABLE_NAME

View File

@@ -2,7 +2,7 @@ import base64
import uuid
from unittest.mock import patch
from docseal import create_submission_from_pdf
from docuseal import create_submission_from_pdf
SUBJECT = '{first_name}, assine seu certificado agora!'
MESSAGE = """
@@ -18,7 +18,7 @@ def Response(*args, **kwargs):
def test_create_submission_from_pdf():
with patch('docseal.requests.post', Response):
with patch('docuseal.requests.post', Response):
with open('tests/sample.pdf', 'rb') as f:
file = base64.b64encode(f.read())
create_submission_from_pdf(