Minor style changes.

This commit is contained in:
Michael Lazar
2016-07-20 21:28:24 -07:00
parent 323ff65dfd
commit 9cfa44c726
4 changed files with 8 additions and 8 deletions

View File

@@ -227,7 +227,9 @@ def test_subreddit_draw_header(subreddit_page, refresh_token, terminal):
text = 'My Submissions'.encode('utf-8')
terminal.stdscr.subwin.addstr.assert_any_call(0, 0, text)
def test_subreddit_frontpage_toggle(subreddit_page, terminal):
with mock.patch.object(terminal, 'prompt_input'):
terminal.prompt_input.return_value = 'aww'
subreddit_page.controller.trigger('/')