From 8529b4a313e5e2cb5d388fef17ab939c326066bd Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Thu, 23 Jun 2016 23:08:30 -0700 Subject: [PATCH] Fixed another test. --- tests/test_subreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_subreddit.py b/tests/test_subreddit.py index dbc9b3e..5416536 100644 --- a/tests/test_subreddit.py +++ b/tests/test_subreddit.py @@ -150,7 +150,7 @@ def test_subreddit_post(subreddit_page, terminal, reddit, refresh_token): with mock.patch.object(terminal, 'open_editor'): terminal.open_editor.return_value.__enter__.return_value = 'title' subreddit_page.controller.trigger('c') - text = 'Canceled'.encode('utf-8') + text = 'Missing body'.encode('utf-8') terminal.stdscr.subwin.addstr.assert_called_with(1, 1, text) # Post a fake submission