Commit 41390f02 by stv

Fix PEP8: E222 multiple spaces after operator

parent 1a9f8b61
......@@ -26,7 +26,7 @@ log = logging.getLogger('edx.' + __name__)
# Make '_' a no-op so we can scrape strings
_ = lambda text: text
DEFAULT_GROUP_NAME = _(u'Group ID {group_id}')
DEFAULT_GROUP_NAME = _(u'Group ID {group_id}')
class SplitTestFields(object):
......
......@@ -288,7 +288,7 @@ def get_purchase_params(cart, callback_url=None, extra_data=None):
params['transaction_type'] = 'sale'
params['locale'] = 'en'
params['signed_date_time'] = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')
params['signed_date_time'] = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')
params['signed_field_names'] = 'access_key,profile_id,amount,currency,transaction_type,reference_number,signed_date_time,locale,transaction_uuid,signed_field_names,unsigned_field_names,orderNumber'
params['unsigned_field_names'] = ''
params['transaction_uuid'] = uuid.uuid4().hex
......
......@@ -33,7 +33,7 @@ class AcceptanceTest(TestSuite):
@property
def cmd(self):
report_file = self.report_dir / "{}.xml".format(self.system)
report_file = self.report_dir / "{}.xml".format(self.system)
report_args = "--with-xunit --xunit-file {}".format(report_file)
cmd = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment