fix: mettre à jour les tests pytest

This commit is contained in:
2026-03-27 22:06:36 +01:00
parent 9dfc7457a0
commit 32c5310e37
2 changed files with 11 additions and 19 deletions

View File

@@ -8,6 +8,10 @@ dependencies = [
"tqdm==4.67.3",
]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
[project.optional-dependencies]
test = ["pytest==8.4.2", "requests-mock==1.12.1", "flake8==7.3.0"]
doc = ["mkdocs<2.0.0", "mkdocs-material==9.6.23", "mkdocstrings[python]"]

View File

@@ -185,9 +185,6 @@ def mock_site():
{dumps({
"props": {
"pageProps": {
"initialReduxState": {
"categ": {
"content": {
"products": [
{"seoKeyword": "/nino-negri-5-stelle-sfursat-2022.html",},
{"seoKeyword": "/poubelle",},
@@ -196,9 +193,6 @@ def mock_site():
}
}
}
}
}
}
)}
</script>
</body>
@@ -213,17 +207,11 @@ def mock_site():
{dumps({
"props": {
"pageProps": {
"initialReduxState": {
"categ": {
"content": {
"products": [
]
}
}
}
}
}
}
)}
</script>
</body>