Fixed test.

This commit is contained in:
Michael Lazar
2016-08-16 20:22:43 -07:00
parent 416ab3743d
commit d271ccf63e

View File

@@ -92,7 +92,7 @@ def test_subreddit_open(subreddit_page, terminal, config):
# Open the selected submission
data = subreddit_page.content.get(subreddit_page.nav.absolute_index)
with mock.patch('rtv.submission.SubmissionPage.loop') as loop, \
with mock.patch('rtv.submission_page.SubmissionPage.loop') as loop, \
mock.patch.object(config.history, 'add'):
data['url_type'] = 'selfpost'
subreddit_page.controller.trigger('l')