Remove useless pylint suppressions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# pylint: disable=missing-docstring
|
||||
# pylint: disable=redefined-outer-name
|
||||
|
||||
import urllib
|
||||
from lettuce import world
|
||||
|
||||
@@ -255,7 +255,7 @@ class StubLtiHandler(StubHttpRequestHandler):
|
||||
# Calculate and encode body hash. See http://oauth.googlecode.com/svn/spec/ext/body_hash/1.0/oauth-bodyhash.html
|
||||
sha1 = hashlib.sha1()
|
||||
sha1.update(body)
|
||||
oauth_body_hash = unicode(base64.b64encode(sha1.digest())) # pylint: disable=too-many-function-args
|
||||
oauth_body_hash = unicode(base64.b64encode(sha1.digest()))
|
||||
params = client.get_oauth_params(None)
|
||||
params.append((u'oauth_body_hash', oauth_body_hash))
|
||||
mock_request = mock.Mock(
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# pylint: disable=missing-docstring
|
||||
# pylint: disable=redefined-outer-name
|
||||
|
||||
from lettuce import world
|
||||
|
||||
@@ -22,7 +21,7 @@ from selenium.common.exceptions import (
|
||||
from selenium.webdriver.support import expected_conditions as EC
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver.support.ui import WebDriverWait
|
||||
from nose.tools import assert_true # pylint: disable=no-name-in-module
|
||||
from nose.tools import assert_true
|
||||
|
||||
GLOBAL_WAIT_FOR_TIMEOUT = 60
|
||||
|
||||
|
||||
Reference in New Issue
Block a user