Tweaked exception wording.

This commit is contained in:
Michael Lazar
2015-12-08 01:09:56 -08:00
parent 9d2a6af826
commit cefdfb3290
6 changed files with 7 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ def test_subreddit_post(subreddit_page, terminal, reddit, refresh_token):
with mock.patch.object(terminal, 'open_editor'):
terminal.open_editor.return_value = 'title'
subreddit_page.controller.trigger('c')
text = "Aborted".encode('utf-8')
text = 'Canceled'.encode('utf-8')
terminal.stdscr.subwin.addstr.assert_called_with(1, 1, text)
# Post a fake submission