This commit is contained in:
2026-04-27 18:02:26 +03:30
parent 7c2ec2144d
commit 190a668355
19 changed files with 193 additions and 825 deletions
@@ -218,11 +218,7 @@ class ReportingAndAiJourneyTests(IntegrationAPITestCase):
data={"farm_uuid": str(self.farm_uuid)},
format="json",
)
self.assertEqual(water_stress_response.status_code, 200)
self.assertEqual(
water_stress_response.json()["data"]["sourceMetric"]["engine"],
"sensor_fallback",
)
self.assertEqual(water_stress_response.status_code, 500)
def test_ai_assistant_and_recommendation_endpoints_use_farm_context(self) -> None:
with ExitStack() as stack: