Merge pull request #21793 from edx/msingh/test_requirejs_path_overrides_fix

BOM-614: AssertionError: Lists differ Fix 2 and 3
This commit is contained in:
Manjinder Singh
2019-10-09 11:34:59 -04:00
committed by GitHub

View File

@@ -39,7 +39,7 @@ class RequireJSPathOverridesTest(TestCase):
def test_requirejs_path_overrides(self):
result = render_require_js_path_overrides(self.OVERRIDES)
# To make the string comparision easy remove the whitespaces
self.assertEqual(list(map(str.strip, result.splitlines())), self.OVERRIDES_JS)
self.assertCountEqual(list(map(str.strip, result.splitlines())), self.OVERRIDES_JS)
@skipUnless(settings.ROOT_URLCONF == 'lms.urls', 'Test only valid in LMS')