This is implemented as two new options using simple templates: plugins.nuweather.units.distance and plugins.nuweather.units.speed
Closes#101.
Closes#97.
Previously, these tests always errored:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 214, in runTest
originalRunTest()
File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 214, in runTest
originalRunTest()
File "./NuWeather/test.py", line 73, in testSavedLocation
self.assertError('weather') # No location set
File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 344, in assertError
m = self._feedMsg(query, expectException=True, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 298, in _feedMsg
to = self.irc.nick
AttributeError: 'NoneType' object has no attribute 'nick'