Attempt to fix the tests
An attempt to fix the broken tests
This commit is contained in:
@@ -62,7 +62,8 @@ def test_submission_page_construct(reddit, terminal, config, oauth):
|
||||
'[2]top '
|
||||
'[3]rising '
|
||||
'[4]new '
|
||||
'[5]controversial').encode('utf-8')
|
||||
'[5]controversial'
|
||||
'[6]gilded ').encode('utf-8')
|
||||
window.addstr.assert_any_call(0, 0, menu)
|
||||
|
||||
# Footer
|
||||
@@ -185,6 +186,8 @@ def test_submission_order(submission_page):
|
||||
assert submission_page.content.order == 'new'
|
||||
submission_page.controller.trigger('5')
|
||||
assert submission_page.content.order == 'controversial'
|
||||
submission_page.controller.trigger('6')
|
||||
assert submission_page.content.order == 'gilded'
|
||||
|
||||
|
||||
def test_submission_move_top_bottom(submission_page):
|
||||
|
||||
Reference in New Issue
Block a user