mirror of
https://github.com/guezoloic/millesima-ai-engine.git
synced 2026-03-28 18:03:47 +00:00
fix: mettre à jour les tests pytest
This commit is contained in:
@@ -8,6 +8,10 @@ dependencies = [
|
|||||||
"tqdm==4.67.3",
|
"tqdm==4.67.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
pythonpath = "src"
|
||||||
|
testpaths = ["tests"]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
test = ["pytest==8.4.2", "requests-mock==1.12.1", "flake8==7.3.0"]
|
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]"]
|
doc = ["mkdocs<2.0.0", "mkdocs-material==9.6.23", "mkdocstrings[python]"]
|
||||||
|
|||||||
@@ -185,9 +185,6 @@ def mock_site():
|
|||||||
{dumps({
|
{dumps({
|
||||||
"props": {
|
"props": {
|
||||||
"pageProps": {
|
"pageProps": {
|
||||||
"initialReduxState": {
|
|
||||||
"categ": {
|
|
||||||
"content": {
|
|
||||||
"products": [
|
"products": [
|
||||||
{"seoKeyword": "/nino-negri-5-stelle-sfursat-2022.html",},
|
{"seoKeyword": "/nino-negri-5-stelle-sfursat-2022.html",},
|
||||||
{"seoKeyword": "/poubelle",},
|
{"seoKeyword": "/poubelle",},
|
||||||
@@ -196,9 +193,6 @@ def mock_site():
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)}
|
)}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
@@ -213,17 +207,11 @@ def mock_site():
|
|||||||
{dumps({
|
{dumps({
|
||||||
"props": {
|
"props": {
|
||||||
"pageProps": {
|
"pageProps": {
|
||||||
"initialReduxState": {
|
|
||||||
"categ": {
|
|
||||||
"content": {
|
|
||||||
"products": [
|
"products": [
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)}
|
)}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user