Fix PEP8: W293 blank line contains whitespace

This commit is contained in:
stv
2014-11-08 17:32:25 -08:00
parent d87cfa90bf
commit d5d6e3f0d8
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class RequestCache(object):
@classmethod
def get_request_cache(cls):
return _request_cache_threadlocal
def clear_request_cache(self):
_request_cache_threadlocal.data = {}

View File

@@ -298,7 +298,7 @@ class AccountApiTest(TestCase):
if create_inactive_account:
# Create an account, but do not activate it
account_api.create_account(self.USERNAME, self.PASSWORD, self.EMAIL)
account_api.request_password_change(self.EMAIL, self.ORIG_HOST, self.IS_SECURE)
# Verify that no email messages have been sent

View File

@@ -33,7 +33,7 @@ def add_base(paths):
"""
return [os.path.join(BASEDIR, x) for x in paths]
# If extensions (or modules to document with autodoc) are in another directory,

View File

@@ -40,7 +40,7 @@ def reset_between_outline_scenarios(_scenario, order, outline, reasons_to_fail):
def course_url_event_is_emitted(_step, url_regex):
event_type = url_regex.format(world.scenario_dict['COURSE'].id)
n_events_are_emitted(_step, 1, event_type, "server")
@step(r'([aA]n?|\d+) "(.*)" (server|browser) events? is emitted$')
def n_events_are_emitted(_step, count, event_type, event_source):