Update tests

This commit is contained in:
Florent 2014-03-19 17:30:51 +01:00
commit 4e80317717
2 changed files with 9 additions and 9 deletions

View file

@ -48,7 +48,7 @@ class StartPage(HTMLPage):
unit = u'°C'
else:
value = text.split(':')[-1].split()[0]
unit = text.split(':')[-1].split()[1]
unit = text.split(':')[-1].split(None, 1)[1]
return value, unit
def parse(self, el):