Merge pull request #21332 from edx/feanil/fix_more_test_collection

Fix more test collection.
This commit is contained in:
Feanil Patel
2019-08-12 15:33:34 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import pprint
import sys
import traceback
import unittest
from contextlib import contextmanager, nested
from contextlib import contextmanager
from functools import wraps
import six

View File

@@ -108,11 +108,11 @@ class ReportTypeTests(ModuleStoreTestCase):
second_refund.refund_requested_time = self.test_time
second_refund.save()
self.CORRECT_REFUND_REPORT_CSV = dedent(b"""
self.CORRECT_REFUND_REPORT_CSV = dedent(u"""
Order Number,Customer Name,Date of Original Transaction,Date of Refund,Amount of Refund,Service Fees (if any)
3,King Bowsér,{time_str},{time_str},40.00,0.00
4,Súsan Smith,{time_str},{time_str},40.00,0.00
""".format(time_str=str(self.test_time)))
""".format(time_str=str(self.test_time))).encode('utf-8')
self.CORRECT_CERT_STATUS_CSV = dedent("""
University,Course,Course Announce Date,Course Start Date,Course Registration Close Date,Course Registration Period,Total Enrolled,Audit Enrollment,Honor Code Enrollment,Verified Enrollment,Gross Revenue,Gross Revenue over the Minimum,Number of Verified Students Contributing More than the Minimum,Number of Refunds,Dollars Refunded