Fixed an ambiguous test.
This commit is contained in:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user