diff --git a/tests/test_subscription.py b/tests/test_subscription.py index a3ccb2b..ac460a1 100644 --- a/tests/test_subscription.py +++ b/tests/test_subscription.py @@ -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 '