Skip to content

Commit

Permalink
fix: updated tests after dependencies update
Browse files Browse the repository at this point in the history
  • Loading branch information
TeKrop committed Oct 11, 2023
1 parent 7bac70a commit daffc8e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ documentation = "https://overfast-api.tekrop.fr/"
[tool.poetry.dependencies]
python = "^3.11"
beautifulsoup4 = "^4.12.2"
fastapi = "^0.103.0"
httpx = {extras = ["http2"], version = "^0.24.1"}
loguru = "^0.7.0"
fastapi = "^0.103.2"
httpx = {extras = ["http2"], version = "^0.25.0"}
loguru = "^0.7.2"
lxml = "^4.9.3"
redis = "^5.0.0"
redis = "^5.0.1"
uvicorn = {extras = ["standard"], version = "^0.23.2"}
pydantic = "^2.3.0"
pydantic = "^2.4.2"
pydantic-settings = "^2.0.3"

[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
fakeredis = "^2.17.0"
black = "^23.9.1"
fakeredis = "^2.19.0"
ipdb = "^0.13.13"
isort = "^5.12.0"
pytest = "^7.4.0"
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
pytest-clarity = "^1.0.1"
pytest-cov = "^4.1.0"
pytest-randomly = "^3.13.0"
pytest-randomly = "^3.15.0"
pytest-xdist = "^3.3.1"
refurb = "^1.19.0"
ruff = "^0.0.282"
pre-commit = "^3.3.3"
sourcery = "^1.7.0"
refurb = "^1.21.0"
ruff = "^0.0.292"
pre-commit = "^3.4.0"
sourcery = "^1.10.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_heroes_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def test_get_heroes_invalid_role():
{
"type": "enum",
"loc": ["query", "role"],
"msg": "Input should be 'damage','support' or 'tank'",
"msg": "Input should be 'damage', 'support' or 'tank'",
"input": "invalid",
"ctx": {"expected": "'damage','support' or 'tank'"},
"ctx": {"expected": "'damage', 'support' or 'tank'"},
},
],
}
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_maps_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def test_get_maps_invalid_gamemode():
{
"type": "enum",
"loc": ["query", "gamemode"],
"msg": "Input should be 'assault','capture-the-flag','control','deathmatch','elimination','escort','flashpoint','hybrid','push' or 'team-deathmatch'",
"msg": "Input should be 'assault', 'capture-the-flag', 'control', 'deathmatch', 'elimination', 'escort', 'flashpoint', 'hybrid', 'push' or 'team-deathmatch'",
"input": "invalid",
"ctx": {
"expected": "'assault','capture-the-flag','control','deathmatch','elimination','escort','flashpoint','hybrid','push' or 'team-deathmatch'",
"expected": "'assault', 'capture-the-flag', 'control', 'deathmatch', 'elimination', 'escort', 'flashpoint', 'hybrid', 'push' or 'team-deathmatch'",
},
},
],
Expand Down

0 comments on commit daffc8e

Please sign in to comment.