-
Notifications
You must be signed in to change notification settings - Fork 3
Fix 57 ERRORED tests; added tests for the import_comment route; mocked aiohttp requests; fix 52 FAILED tests in CI
#171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9a5d3b9
Добавлены фикстуры: logging_sql_req_before_execute для логирования по…
CaseAsLimbo b50733f
Добавлены relationship для таблиц Lectorer и LectorerUserComment с на…
CaseAsLimbo 7e00a0d
В .gitignore добавлено исключение файла uv.lock для пакетного менедже…
CaseAsLimbo 832d434
Добавлен мок пользователя с userdata
CaseAsLimbo bbd0fb3
Изменил названия атрибута lecturer_comments на lecturer в таблице Lec…
CaseAsLimbo ff6c676
Добавлена проверка корректности переданных в userdata параметров
CaseAsLimbo c277471
Были добавлены дополнительные слушатели событий BEGIN, COMMIT и ROLLB…
CaseAsLimbo 623bda4
Были применены black и isort T_T
CaseAsLimbo cc84d37
Удалил личную информацию
CaseAsLimbo f4be566
были удалены фикстры для логирования и переопределения dbsession
CaseAsLimbo 6077bbd
Убрано каскадное удаление таблиц
CaseAsLimbo 90b7ff5
Возращена структура фикстуры lecturers; удалены лишние скоупы из мока…
CaseAsLimbo 2a81afd
Добавленая проверка user_id и fullname; убрана проверка полей userdat…
CaseAsLimbo 26f4635
Применены black и isort T_T
CaseAsLimbo 6a336df
удален uv.lock из gitignore
CaseAsLimbo 0e08f03
fix status
petrCher cb6da6b
fixes
petrCher d66ebbb
fix
petrCher 9c23d1e
Добавлен dbsession.flush() после добавления на удаление каждого элеме…
CaseAsLimbo b036e6d
добавлен пакет aioresponses для перехвата aiohttp запросов
CaseAsLimbo df0d454
Добавлена фикстура aiohttp_mp реализующая перехват всех aiohttp запросов
CaseAsLimbo 4dab50e
Добавлены тесты на логику выдачи ачивок
CaseAsLimbo 887d299
Добавлен вызов post-запроса через await при добавлении ачивки юзеру, …
CaseAsLimbo 0490856
Снят флаг autouse=True с фикстуры подмены aiohttp запросов, за не нуж…
CaseAsLimbo 6157285
обновлена(исправлена) логика проверки ачивки; добавлены доп. проверки…
CaseAsLimbo ec52cc0
Добавлен assert статус кода перед остальными проверками и исправлена …
CaseAsLimbo 30b3df6
исправлена/добавлена логика проверки статус кода в тест test_lecturer…
CaseAsLimbo 2bc0328
в mocker.patch добавлен праметр autospec=True, чтобы MagicMock копиро…
CaseAsLimbo 47dfb2a
Применены black и isort
CaseAsLimbo bd22bb8
checks
petrCher c072a81
revert
petrCher a2a76af
Update checks.yml
petrCher 828738f
Update checks.yml
petrCher 4a04c1f
fix
petrCher f1280db
Удалена фикстура aiohttp_mp. Решено отказаться от aioressponses в пол…
CaseAsLimbo 86e57e3
Переделан мок aiohttp запросов с использованием pytest.mocker вместо …
CaseAsLimbo 0a238c9
Удален aioresponses из requirements.dev.txt
CaseAsLimbo 1388d3d
Логика создания мока aiohttp запросов вынесена за пределы теста test_…
CaseAsLimbo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.