Fixed an ambiguous test.

This commit is contained in:
Michael Lazar
2016-07-15 23:01:31 -07:00
parent 23267d8a4b
commit 99ca930041

View File

@@ -40,7 +40,7 @@ def test_subscription_page_construct(reddit, terminal, config, oauth,
# Header - Name
name = reddit.user.name.encode('utf-8')
window.addstr.assert_any_call(0, 59, name)
assert name in [args[0][2] for args in window.addstr.call_args_list]
# Banner shouldn't be drawn
menu = ('[1]hot '