diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-15 16:11:47 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-15 16:12:32 +0200 |
| commit | 7dd554da0bc5fecdb911241d10908c2cde7601e8 (patch) | |
| tree | ce72c762dc45fbe87bd5ecf3fd8c1e22d653b40c /client | |
| parent | a87269dd0944a5a5e4ddd99748f58e1bb435c83c (diff) | |
| download | jasper-client-7dd554da0bc5fecdb911241d10908c2cde7601e8.tar.gz jasper-client-7dd554da0bc5fecdb911241d10908c2cde7601e8.zip | |
Fix Weather testcase
The only change here is that the test profile location has been changed from "08544" (US zipcode of Princeton, NJ) to "Cape Town" (this was chosen because of high code coverage). It looks like it was broken anyway and just passed because the weather module did not fail if the city was not found. If I type http://rss.wunderground.com/auto/rss_full/08544 into my webbrowser, it says "City not found".
If you now have an invalid location name in your profile, the user will be informed that something is fishy.
Diffstat (limited to 'client')
| -rw-r--r-- | client/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/test.py b/client/test.py index 0a414f4..d72e76b 100644 --- a/client/test.py +++ b/client/test.py @@ -21,7 +21,7 @@ from stt import TranscriptionMode DEFAULT_PROFILE = { 'prefers_email': False, - 'location': '08544', + 'location': 'Cape Town', 'timezone': 'US/Eastern', 'phone_number': '012344321' } |
