File tree Expand file tree Collapse file tree 3 files changed +290
-268
lines changed
Expand file tree Collapse file tree 3 files changed +290
-268
lines changed Original file line number Diff line number Diff line change 11---
22repos :
33 - repo : https://github.com/astral-sh/ruff-pre-commit
4- rev : ' v0.14.0 '
4+ rev : ' v0.15.1 '
55 hooks :
66 - id : ruff-check
77 args : [--fix, --exit-non-zero-on-fix]
1616 exclude : " \\ .svg$|\\ .map$|\\ .min\\ .css$|\\ .min\\ .js$|\\ .po$|\\ .pot$"
1717 - id : check-toml
1818 - repo : https://github.com/pre-commit/mirrors-mypy
19- rev : v1.18.2
19+ rev : v1.19.1
2020 hooks :
2121 - id : mypy
2222 additional_dependencies : [pydantic]
Original file line number Diff line number Diff line change @@ -42,10 +42,7 @@ def test_bad_authentication(httpserver):
4242 results = _schemas_endpoint (context )
4343
4444 assert results [0 ].status == Status .ERROR
45- assert (
46- results [0 ].reason
47- == "The server returned a SCIM Error object: Authentication is needed"
48- )
45+ assert "Authentication is needed" in results [0 ].reason
4946
5047
5148def test_bad_content_type (httpserver ):
You can’t perform that action at this time.
0 commit comments