Attempt to fix the tests

An attempt to fix the broken tests
This commit is contained in:
Edridge D'Souza
2018-07-16 16:52:08 -04:00
parent b2d3439faa
commit ad97b8ff9a
4 changed files with 26 additions and 3 deletions

View File

@@ -40,7 +40,8 @@ def test_subscription_page_construct(reddit, terminal, config, oauth,
'[2]top '
'[3]rising ' # Whitespace is relevant
'[4]new '
'[5]controversial').encode('utf-8')
'[5]controversial'
'[6]gilded ').encode('utf-8')
with pytest.raises(AssertionError):
window.addstr.assert_any_call(0, 0, menu)