Skip to content

Broken pdf check#23

Merged
nmkazantsev merged 18 commits intomainfrom
btoken-pdf-check
Feb 9, 2023
Merged

Broken pdf check#23
nmkazantsev merged 18 commits intomainfrom
btoken-pdf-check

Conversation

@nmkazantsev
Copy link
Copy Markdown
Contributor

сделал проверку на битость пфд, если она не проходится файл удаляется, на фронт приходит соответствующаяошибка

@nmkazantsev nmkazantsev reopened this Feb 6, 2023
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 6, 2023

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.11.1-final-0 -----------

Name Stmts Miss Cover
print_service/init.py 4 0 100%
print_service/main.py 4 4 0%
print_service/models/init.py 29 0 100%
print_service/routes/init.py 1 0 100%
print_service/routes/admin.py 49 26 47%
print_service/routes/auth.py 4 0 100%
print_service/routes/base.py 21 0 100%
print_service/routes/file.py 107 24 78%
print_service/routes/qrprint.py 81 47 42%
print_service/routes/user.py 50 4 92%
print_service/schema.py 2 0 100%
print_service/settings.py 29 0 100%
print_service/utils/init.py 47 1 98%
TOTAL 428 106 75%
================== 18 passed, 1

@nmkazantsev nmkazantsev requested a review from dyakovri February 6, 2023 19:58
Comment thread print_service/routes/file.py Outdated
Comment thread print_service/routes/file.py Outdated
Comment thread print_service/routes/file.py Outdated
Comment thread print_service/utils/__init__.py Outdated
Comment thread tests/test_routes/conftest.py
Comment thread tests/test_routes/conftest.py Outdated
Comment thread tests/test_routes/conftest.py Outdated
Comment thread tests/test_routes/test_file.py Outdated
Comment thread tests/test_routes/test_file.py
Comment thread tests/test_routes/test_file.py
Copy link
Copy Markdown
Member

@dyakovri dyakovri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Файл .gitkeep нужен исключительно для пустых папок, чтобы папка попала в гит репозиторий

Comment thread print_service/models/__init__.py Outdated
Comment thread print_service/routes/file.py Outdated
Comment thread print_service/routes/file.py Outdated
Comment thread print_service/utils/__init__.py Outdated
Comment thread print_service/utils/__init__.py Outdated
Comment thread tests/test_routes/test_file.py Outdated
Comment thread print_service/routes/file.py Outdated
Comment thread tests/test_routes/test_file.py Outdated
Comment thread tests/test_routes/conftest.py
Comment thread print_service/utils/__init__.py Outdated
@nmkazantsev nmkazantsev merged commit 0ab2ced into main Feb 9, 2023
@nmkazantsev nmkazantsev deleted the btoken-pdf-check branch February 9, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Можно отправить на печать поврежденный pdf

3 participants