Fixed tests

This commit is contained in:
Michael Lazar
2017-05-10 21:40:40 -07:00
parent 29584acd3a
commit 1c66c5662f
4 changed files with 10 additions and 7 deletions

View File

@@ -340,7 +340,7 @@ class Page(object):
except (ProgramError, OSError) as e:
_logger.exception(e)
self.term.show_notification(
'Failed to copy permalink to clipboard\n{0}'.format(e))
'Failed to copy permalink: {0}'.format(e))
else:
self.term.show_notification(
'Copied permalink to clipboard', timeout=1)
@@ -362,7 +362,7 @@ class Page(object):
except (ProgramError, OSError) as e:
_logger.exception(e)
self.term.show_notification(
'Failed to copy url to clipboard\n{0}'.format(e))
'Failed to copy url: {0}'.format(e))
else:
self.term.show_notification(
'Copied url to clipboard', timeout=1)