calling assertCountEqual
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user