Try to fix test for automatic run with travis

* Additionally calculate valid pressure
This commit is contained in:
2017-02-13 21:04:03 +03:00
parent d097e154ff
commit 10f556e41b
8 changed files with 54 additions and 17 deletions

View File

@ -120,9 +120,6 @@ void TestExtWeather::run()
>= humidity.first)
&& (arguments[extWeather->tag(QString("humidity"))].toInt()
<= humidity.second));
QWARN("May fail here for Yahoo! Weather, see "
"https://yahoo.uservoice.com/forums/207813-us-weather/suggestions/"
"14209233-invalid-pressure-calculation");
QVERIFY((arguments[extWeather->tag(QString("pressure"))].toInt()
> pressure.first)
&& (arguments[extWeather->tag(QString("pressure"))].toInt()