Closed dependabot[bot] closed 3 months ago
=========================== short test summary info ============================
FAILED tests/core/test_logging.py::RequestSummaryTest::test_headers_and_body_when_level_is_debug - AssertionError: {'Host': 'localhost:80', 'Content-Type': 'a[143 chars]GET'} != {'Authorization': 'Basic bWF0OnNlY3JldA==',[79 chars]:80'}
- {'Access-Control-Request-Method': 'GET',
- 'Authorization': 'Basic bWF0OnNlY3JldA==',
? ^
+ {'Authorization': 'Basic bWF0OnNlY3JldA==',
? ^
'Content-Length': '11',
'Content-Type': 'application/json',
- 'Host': 'localhost:80',
? ^
+ 'Host': 'localhost:80'}
? ^
- 'Origin': 'lolnet.org'}
FAILED tests/core/test_views_version.py::VersionViewTest::test_return_a_500_if_version_file_if_not_present - webtest.app.AppError: Bad response: 200 OK (not 500)
b'{"name": "kinto", "version": "869e342", "source": "https://github.com/Kinto/kinto", "commit": "869e3429af6757135069530f156f3cb655a835d4"}'
==== 2 failed, 1709 passed, 376 skipped, 7432 warnings in 125.45s (0:02:05) ====
I suspect this is due to test ordering changes starting in pytest v8. I ran into the same problem recently. Will take this on.
Made the simplest changes I could think of to get us past the v8 upgrade issue. Created #3401 as a followup issue (more like epic) for us to work through.
Awesome @alexcottner thank you 🎉
Bumps pytest from 7.4.4 to 8.1.1.
Release notes
Sourced from pytest's releases.
... (truncated)
Commits
81653ee
Adjust changelog manually for 8.1.1e60b4b9
Prepare release version 8.1.115fbe57
[8.1.x] Revert legacy path removals (#12093)86c3aab
[8.1.x] Do not import duplicated modules with --importmode=importlib (#12077)5b82b0c
[8.1.x] Yank version 8.1.0 (#12076)0a53681
Merge pull request #12054 from pytest-dev/release-8.1.0b9a167f
Prepare release version 8.1.000043f7
Merge pull request #12038 from bluetech/fixtures-rm-arg2indexf4e1025
Merge pull request #12048 from bluetech/fixture-teardown-excgroup43492f5
Merge pull request #12051 from jakkdl/test_debugging_pythonbreakpointDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show
Notes from @alexcottner Introducing pytest v8+ causes some issues because it runs the tests in a different order. This also revealed that we have a lot of tests that cause side effects and have dependencies on each other. Created issue #3401 as a followup.