Commit c93d4824 by Awais Jibran

Fixed quality report

parent 5306ac02
...@@ -16,9 +16,6 @@ class RandomizeModuleTestCase(unittest.TestCase): ...@@ -16,9 +16,6 @@ class RandomizeModuleTestCase(unittest.TestCase):
system = DummyImportSystem(load_error_modules=True) system = DummyImportSystem(load_error_modules=True)
def to_attrb(n, v):
return '' if v is None else '{0}="{1}"'.format(n, v).lower()
start_xml = ''' start_xml = '''
<course org="{org}" course="{course}" <course org="{org}" course="{course}"
graceperiod="1 day" url_name="test" graceperiod="1 day" url_name="test"
...@@ -39,7 +36,7 @@ class RandomizeModuleTestCase(unittest.TestCase): ...@@ -39,7 +36,7 @@ class RandomizeModuleTestCase(unittest.TestCase):
""" """
Just make sure descriptor loads without error Just make sure descriptor loads without error
""" """
descriptor = self.get_dummy_course(START) self.get_dummy_course(START)
# TODO: add tests that create a module and check. Passing state is a good way to # TODO: add tests that create a module and check. Passing state is a good way to
# check that child access works... # check that child access works...
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