We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de04c5b commit 020bdcbCopy full SHA for 020bdcb
tests/test/test_api/test_helputils.py
@@ -35,17 +35,18 @@
35
class TestHelpUtils(test_api_utils.APITestCase):
36
def test_get_help_source(self):
37
src = helputils.get_help_source()
38
- assert isinstance(src, pycompat.TEXT_TYPE)
+ msg = 'Invalid help source; src=%r'
39
+ assert isinstance(src, pycompat.TEXT_TYPE), msg % src
40
41
def test_get_help_base_location(self):
42
43
url = helputils.get_help_base_location(help_source=src)
44
msg = (
45
'The help URL cannot be found! '
- 'Did you build and install documentation?'
46
+ 'Did you build and install documentation? '
47
'url=%r'
48
)
- assert isinstance(url, pycompat.TEXT_TYPE), msg
49
+ assert isinstance(url, pycompat.TEXT_TYPE), msg % url
50
51
52
if __name__ == '__main__':
0 commit comments