ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
0 stars 0 forks source link

33 Create automation for previously tested tickets. #68

Closed mnyamunda-scottlogic closed 4 weeks ago

mnyamunda-scottlogic commented 4 weeks ago

This PR covers 3 previously tested scenarios.

No main processes are being run from these tests. The aim is to have the user manually run these when they receive new changes to the project as a basic health check.

Helper function retrieves db documents and stores them within a dictionary. Then assertions are made against the key and value pairs within that dictionary.

Verify AQI can only be between 1 and 6 Verify that overall_aqi_level equates to highest the individual pollutant AQI in the document. Verify that location_type key always has the value "city"

github-actions[bot] commented 4 weeks ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
361 249 69% 65% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 0905c24 by action🐍