Fixed an ambiguous test.

This commit is contained in:
woorst
2016-07-18 14:56:28 -05:00
parent 5478c299f8
commit 12155c0953

View File

@@ -36,7 +36,8 @@ def test_list_reddits_page_construct(reddit, terminal, config,
# Header - Name # Header - Name
name = reddit.user.name.encode('utf-8') 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 # Banner shouldn't be drawn
menu = ('[1]hot ' menu = ('[1]hot '