We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d4278 commit 13eb3d6Copy full SHA for 13eb3d6
1 file changed
tests/unit/manager_test.py
@@ -13,9 +13,13 @@ def test_weather_to_text_is_string(self):
13
assert type(weather_text) is StringType
14
15
@raises(ValueError)
16
- def test_weather_to_text_invalid_input(self):
+ def test_weather_to_text_invalid_input_None(self):
17
weather_text = self.manager._weather_to_text(None)
18
19
20
- def test_weather_to_text_out_of_bounds_input(self):
+ def test_weather_to_text_invalid_input_out_of_bounds(self):
21
weather_text = self.manager._weather_to_text(31)
22
+
23
+ @raises(ValueError)
24
+ def test_weather_to_text_invalid_input_String(self):
25
+ weather_text = self.manager._weather_to_text('1')
0 commit comments