diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-03-08 12:04:57 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-03-09 12:10:37 +0100 |
commit | 634658723adddd549c22ff2ebdb6025474d220ae (patch) | |
tree | f8b4e49442d26f2255884d229b1f765b45886393 | |
parent | 4e7a3a99839d8e2c710c52e06d8b3f347914d431 (diff) | |
download | libgweather-634658723adddd549c22ff2ebdb6025474d220ae.tar.gz |
tests: Don't require weather stations to have timezones
https://bugzilla.gnome.org/show_bug.cgi?id=792328
-rw-r--r-- | libgweather/test_libgweather.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c index 4623850..85aa695 100644 --- a/libgweather/test_libgweather.c +++ b/libgweather/test_libgweather.c @@ -72,7 +72,7 @@ test_timezone (GWeatherLocation *location) g_assert (tzs); /* Only countries should have multiple timezones associated */ - if (tzs[0] == NULL || + if ((tzs[0] == NULL && gweather_location_get_level (location) < GWEATHER_LOCATION_WEATHER_STATION) && gweather_location_get_level (location) > GWEATHER_LOCATION_COUNTRY) { g_print ("Location '%s' does not have an associated timezone\n", gweather_location_get_name (location)); |