test: sort before comparing
This commit is contained in:
parent
eea57dbcf1
commit
b247c3853e
1 changed files with 2 additions and 2 deletions
|
|
@ -436,8 +436,8 @@ class TestUser(FrappeTestCase):
|
|||
getdoc("User", "Administrator")
|
||||
doc = frappe.response.docs[0]
|
||||
self.assertListEqual(
|
||||
doc.get("__onload").get("all_modules", []),
|
||||
[m.get("module_name") for m in get_modules_from_all_apps()],
|
||||
sorted(doc.get("__onload").get("all_modules", [])),
|
||||
sorted(m.get("module_name") for m in get_modules_from_all_apps()),
|
||||
)
|
||||
|
||||
def test_reset_password_link_expiry(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue