Title: Update test_app.py by bojika · Pull Request #2 · OtusTeam/BasePython · GitHub
Open Graph Title: Update test_app.py by bojika · Pull Request #2 · OtusTeam/BasePython
X Title: Update test_app.py by bojika · Pull Request #2 · OtusTeam/BasePython
Description: bojika@enigma ~/PycharmProjects/Otus-Python-Developer-Basic (main) $ pytest testing/test_homework_03 -s -vv =================================================================== test session starts =================================================================== platform win32 -- Python 3.9.6, pytest-6.2.3, py-1.11.0, pluggy-0.13.1 -- c:\users\aalexeev\pycharmprojects\otus-python-developer-basic\venv\scripts\python. exe cachedir: .pytest_cache benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmu p_iterations=100000) rootdir: C:\Users\aalexeev\PycharmProjects\Otus-Python-Developer-Basic plugins: anyio-3.4.0, Faker-8.1.2, asyncio-0.15.1, benchmark-3.4.1 collected 0 items / 1 error ========================================================================= ERRORS ========================================================================== __________________________________________________ ERROR collecting testing/test_homework_03/test_app.py __________________________________________________ testing\test_homework_03\test_app.py:16: in if not (dockerfile_path.is_file() and len(dockerfile_path.read_text().splitlines()) > 5): ....\AppData\Local\Programs\Python\Python39\lib\pathlib.py:1257: in read_text return f.read() ....\AppData\Local\Programs\Python\Python39\lib\encodings\cp1251.py:23: in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] E UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 1423: character maps to ================================================================= short test summary info ================================================================= ERROR testing/test_homework_03/test_app.py - UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 1423: character maps to !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ==================================================================== 1 error in 1.69s =====================================================================
Open Graph Description: bojika@enigma ~/PycharmProjects/Otus-Python-Developer-Basic (main) $ pytest testing/test_homework_03 -s -vv =================================================================== test session starts =...
X Description: bojika@enigma ~/PycharmProjects/Otus-Python-Developer-Basic (main) $ pytest testing/test_homework_03 -s -vv =================================================================== test session starts =...
Opengraph URL: https://github.com/OtusTeam/BasePython/pull/2
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b6e9f2ce-327d-ea2e-f536-47c7be35322c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9340:32F6:52793B:6D3997:6A598142 |
| html-safe-nonce | a3f75f98a221dde1184bd0b97204c50ca00d84287a7f4fed4ccadc83670a0acb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzQwOjMyRjY6NTI3OTNCOjZEMzk5Nzo2QTU5ODE0MiIsInZpc2l0b3JfaWQiOiI0NTUxMDYxMTU2NjY5MjYwMDk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1695ba2c00c4ebafdeb1b499097d16a3e6d4190ec5671f9f50ec4dd14c42e482 |
| hovercard-subject-tag | pull_request:810858075 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/OtusTeam/BasePython/pull/2/files |
| twitter:image | https://avatars.githubusercontent.com/u/70885390?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/70885390?s=400&v=4 |
| og:image:alt | bojika@enigma ~/PycharmProjects/Otus-Python-Developer-Basic (main) $ pytest testing/test_homework_03 -s -vv =================================================================== test session starts =... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/OtusTeam/BasePython git https://github.com/OtusTeam/BasePython.git |
| octolytics-dimension-user_id | 46933592 |
| octolytics-dimension-user_login | OtusTeam |
| octolytics-dimension-repository_id | 271736418 |
| octolytics-dimension-repository_nwo | OtusTeam/BasePython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 271736418 |
| octolytics-dimension-repository_network_root_nwo | OtusTeam/BasePython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624bb50a7497aa346bef8cc3743af408a9ea10ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width