calling assertCountEqual

This commit is contained in:
jinder1s
2019-10-09 10:58:23 -04:00
parent 26026782b0
commit feb3e5f0a5

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')