Skip to content

Print-errors update.#53

Merged
Temmmmmo merged 4 commits intomainfrom
print-errors-update
May 22, 2023
Merged

Print-errors update.#53
Temmmmmo merged 4 commits intomainfrom
print-errors-update

Conversation

@Temmmmmo
Copy link
Copy Markdown
Member

Изменения

Добавлены русские описания ошибок, возникающих при попытке печати файла.

Реализации

В хэндлеры добавлены новые поля с русским описанием ошибок.

Детали

В каждый хэндлер, в возвращаемый JSON добавлено поле 'ru', содержащее русское описание ошибки.

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям? - НЕ ТРЕБУЕТСЯ
  • Вы не забыли применить black и isort?

P.S. Проставьте x в квадратные скобки в нужных пунктах. Example: [x]

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2023

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
print_service
   __main__.py440%1–7
   base.py13469%6–9
   exceptions.py52787%21, 40, 45, 60, 65, 70, 77
print_service/routes
   admin.py492647%28–29, 32–36, 39–43, 50–56, 63–69
   auth.py440%1–8
   exc_handlers.py59985%34, 58, 70, 80, 124, 136, 144, 154, 166
   file.py1291985%49, 55, 57, 128–129, 170, 178–179, 181, 184–185, 190–191, 201–204, 246, 255
   qrprint.py824743%34–43, 48–54, 57–64, 67–76, 79, 82–85, 93–96, 104–109
   user.py50492%63, 110–112
print_service/utils
   __init__.py58395%44, 86–87
TOTAL62212780% 

Summary

Tests Skipped Failures Errors Time
23 1 💤 0 ❌ 0 🔥 2.074s ⏱️

Comment thread print_service/routes/exc_handlers.py Outdated
Comment thread print_service/routes/exc_handlers.py Outdated
Comment thread print_service/routes/file.py
@Temmmmmo Temmmmmo merged commit 2a2e923 into main May 22, 2023
@Temmmmmo Temmmmmo deleted the print-errors-update branch May 22, 2023 21:39
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.

2 participants