From 7dd554da0bc5fecdb911241d10908c2cde7601e8 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 15 Oct 2014 16:11:47 +0200 Subject: 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. --- client/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } -- cgit v1.3.1