Closed Bug 1219955 Opened 10 years ago Closed 10 years ago

test_fmradio_add_remove_from_favorites.py failure - UnicodeEncodeError

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

Running this test, I get this failure. It's also reproducible in Jenkins. TEST-UNEXPECTED-ERROR | test_fmradio_add_remove_from_favorites.py TestFMRadioAddRemoveFavorites.test_add_remove_from_favorites | UnicodeEncodeError: 'decimal' codec can't encode character u'\u2068' in position 0: invalid decimal Unicode string Traceback (most recent call last): File "/Users/mwargers/.virtualenvs/zapion_test2/lib/python2.7/site-packages/marionette_client-1.0.0-py2.7.egg/marionette/marionette_test.py", line 296, in run testMethod() File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/tests/functional/fmradio/test_fmradio_add_remove_from_favorites.py", line 36, in test_add_remove_from_favorites self.assertEqual(self.fm_radio.frequency, self.fm_radio.favorite_channels[0].text) File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/fmradio/app.py", line 105, in text return float(self.root_element.find_element(*self._frequency_locator).text) TEST-INFO took 76803ms A similar failure happened in bug 1209562.
Assignee: nobody → martijn.martijn
Comment on attachment 8680967 [details] [review] [gaia] mwargers:1219955 > mozilla-b2g:master Similar fix as for bug 1209562.
Attachment #8680967 - Flags: review?(npark)
Attachment #8680967 - Flags: review?(jlorenzo)
Comment on attachment 8680967 [details] [review] [gaia] mwargers:1219955 > mozilla-b2g:master Looks fine to me.
Attachment #8680967 - Flags: review?(jlorenzo) → review+
Comment on attachment 8680967 [details] [review] [gaia] mwargers:1219955 > mozilla-b2g:master straightforward fix.
Attachment #8680967 - Flags: review?(npark) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: