UPDATE
This commit is contained in:
@@ -83,7 +83,7 @@ class ReportingAndAiJourneyTests(IntegrationAPITestCase):
|
||||
|
||||
def test_reporting_endpoints_read_from_persisted_farm_context(self) -> None:
|
||||
soil_response = self.client.get(
|
||||
"/api/soil-data/",
|
||||
"/api/location-data/",
|
||||
data={"lat": f"{self.primary_lat:.6f}", "lon": f"{self.primary_lon:.6f}"},
|
||||
)
|
||||
self.assertEqual(soil_response.status_code, 200)
|
||||
@@ -168,7 +168,7 @@ class ReportingAndAiJourneyTests(IntegrationAPITestCase):
|
||||
self.assertEqual(anomaly_response.json()["data"]["knowledge_base"], "soil_anomaly")
|
||||
|
||||
ndvi_response = self.client.post(
|
||||
"/api/soil-data/ndvi-health/",
|
||||
"/api/location-data/ndvi-health/",
|
||||
data={"farm_uuid": str(self.farm_uuid)},
|
||||
format="json",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user