PyLint and PEP8 formatting
This commit is contained in:
@@ -39,4 +39,4 @@ def test_copy():
|
||||
assert Popen.call_args[0][0] == ['pbcopy', 'w']
|
||||
p.communicate.assert_called_with(input='test'.encode('utf-8'))
|
||||
copy_osx('test ❤')
|
||||
p.communicate.assert_called_with(input='test ❤'.encode('utf-8'))
|
||||
p.communicate.assert_called_with(input='test ❤'.encode('utf-8'))
|
||||
|
||||
@@ -190,6 +190,7 @@ def test_content_flatten_comments_3(reddit):
|
||||
self.id = comment_id
|
||||
self.parent_id = parent_id
|
||||
self.replies = []
|
||||
|
||||
def __repr__(self):
|
||||
return '%s (%s)' % (self.id, self.parent_id)
|
||||
|
||||
|
||||
@@ -181,4 +181,4 @@ def test_oauth_authorize(oauth, reddit, stdscr, refresh_token):
|
||||
oauth.reddit.get_access_information.side_effect = exception
|
||||
oauth.authorize()
|
||||
assert isinstance(oauth.term.loader.exception, OAuthException)
|
||||
assert not oauth.config.save_refresh_token.called
|
||||
assert not oauth.config.save_refresh_token.called
|
||||
|
||||
Reference in New Issue
Block a user