mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
inside the check_page_for_string() method.
Fix the following stacktrace during ToolShed tests:
```
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 329, in run
testMethod()
File "/galaxy/test/shed_functional/functional/test_1160_tool_help_images.py", line 79, in test_0010_load_tool_page
self.load_display_tool_page(repository, tool_path, changeset_revision, strings_displayed=[image_path], strings_not_displayed=[])
File "/galaxy/test/shed_functional/base/twilltestcase.py", line 1122, in load_display_tool_page
self.check_for_strings(strings_displayed, strings_not_displayed)
File "/galaxy/test/functional/twilltestcase.py", line 39, in check_for_strings
self.check_page_for_string(string)
File "/galaxy/test/functional/twilltestcase.py", line 69, in check_page_for_string
if page.find(patt) == -1:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8760: ordinal not in range(128)
```