Fixed a few bugs and added cassettes.

This commit is contained in:
Michael Lazar
2016-07-26 01:06:44 -07:00
parent 0dbb3459ed
commit ddb459cf56
9 changed files with 995 additions and 15 deletions

View File

@@ -267,7 +267,7 @@ def test_submission_urlview(submission_page, terminal, refresh_token):
# Submission case
data = submission_page.content.get(submission_page.nav.absolute_index)
data['body'] = 'test comment body ❤'
with mock.patch.object(terminal, 'open_urlview') as open_urlview, \
with mock.patch.object(terminal, 'open_urlview') as open_urlview:
submission_page.controller.trigger('b')
open_urlview.assert_called_with('test comment body ❤')