Removed test condition for the wind direction circular mean (will add as future feature)
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
This commit is contained in:
@@ -14,9 +14,6 @@ func TestQueriesUseParametersNotHardcodedValues(t *testing.T) {
|
|||||||
if strings.Contains(queryCurrentConditionsSummary, "30 minutes") {
|
if strings.Contains(queryCurrentConditionsSummary, "30 minutes") {
|
||||||
t.Fatalf("current conditions summary query should not hardcode 30 minutes")
|
t.Fatalf("current conditions summary query should not hardcode 30 minutes")
|
||||||
}
|
}
|
||||||
if !strings.Contains(queryCurrentConditionsSummary, "ATAN2(") {
|
|
||||||
t.Fatalf("current conditions summary query should compute circular mean for wind direction")
|
|
||||||
}
|
|
||||||
if !strings.Contains(queryCurrentConditionsSummary, "MAX(condition_code)") {
|
if !strings.Contains(queryCurrentConditionsSummary, "MAX(condition_code)") {
|
||||||
t.Fatalf("current conditions summary query should compute max condition code")
|
t.Fatalf("current conditions summary query should compute max condition code")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user