NuWeather: add CI tests for Weatherstack and Openweathermap

This commit is contained in:
James Lu 2020-08-03 14:17:17 -07:00
parent 1eb83ea9df
commit 586d16712f

View File

@ -75,11 +75,11 @@ class NuWeatherDarkSkyTestCase(PluginTestCase):
self.assertNotError('setweather Berlin') self.assertNotError('setweather Berlin')
self.assertRegexp('weather', 'Berlin') self.assertRegexp('weather', 'Berlin')
# TODO: set up Weatherstack in CI
'''
class NuWeatherWeatherstackTestCase(NuWeatherDarkSkyTestCase): # inherit settings from above class NuWeatherWeatherstackTestCase(NuWeatherDarkSkyTestCase): # inherit settings from above
BACKEND = 'weatherstack' BACKEND = 'weatherstack'
'''
class NuWeatherOpenWeatherMapTestCase(NuWeatherDarkSkyTestCase):
BACKEND = 'openweathermap'
# FIXME: test geocode backends # FIXME: test geocode backends