Closed mnyamunda-scottlogic closed 2 weeks ago
current status: ✅
Overall Coverage
Lines Covered Coverage Threshold Status 764 715 94% 80% 🟢 New Files
No new covered files...
Modified Files
No covered modified files...
updated for commit:
09f78a6
by action🐍
The goal of this is as a manual regression file which can later be tweaked and added into a pipeline.
These tests run the main
run_forecast_etl
script but with the same grib each time. Specifically the GRIBs created on2024-06-04
with abase_time
of00:00
.This ensures that we are uploading the exact same documents into the database every time. Therefore allowing use to assert exact keys and values.
We can confidently assert these exact values as the calculation has been done manually to see if they match the database. Bilinear interpolation etc.
Database is wiped and 'run_forecast_etl' is initiated with overridden "FORECAST_BASE_TIME"
Tests include
overall_aqi_levels
and alsoindividual_pollutant_aqi