style(etl): applique le formatage Ruff aux tests API Mock
Backend / Lint, typage et tests (push) Successful in 1m57s
Backend / Tests exigeant une base (push) Failing after 36s
Backend / Audit des dépendances (push) Successful in 57s
SonarQube / build-back (push) Successful in 1m30s
SonarQube / build-front (push) Successful in 9m37s
SonarQube / test-back (push) Failing after 53s
SonarQube / test-front (push) Failing after 5m5s
SonarQube / SonarQube (push) Skipped
Backend / Lint, typage et tests (push) Successful in 1m57s
Backend / Tests exigeant une base (push) Failing after 36s
Backend / Audit des dépendances (push) Successful in 57s
SonarQube / build-back (push) Successful in 1m30s
SonarQube / build-front (push) Successful in 9m37s
SonarQube / test-back (push) Failing after 53s
SonarQube / test-front (push) Failing after 5m5s
SonarQube / SonarQube (push) Skipped
This commit is contained in:
@@ -169,9 +169,7 @@ def test_build_reading_row_respects_database_contract() -> None:
|
|||||||
assert row["source"] == "api_history"
|
assert row["source"] == "api_history"
|
||||||
assert row["dataset_id"] is None
|
assert row["dataset_id"] is None
|
||||||
|
|
||||||
assert row["timestamp"] == datetime.fromisoformat(
|
assert row["timestamp"] == datetime.fromisoformat("2024-06-15T12:00:00+00:00")
|
||||||
"2024-06-15T12:00:00+00:00"
|
|
||||||
)
|
|
||||||
|
|
||||||
assert row["consumption_kw"] == 87.34
|
assert row["consumption_kw"] == 87.34
|
||||||
assert row["consumption_kwh"] == 87.34
|
assert row["consumption_kwh"] == 87.34
|
||||||
|
|||||||
Reference in New Issue
Block a user