From dfc23eb3a3e42869430cf686a29f0b4188894618 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 21 May 2021 11:22:19 +0530 Subject: [PATCH] fix(test): Set admin password correctly --- frappe/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/tests/test_api.py b/frappe/tests/test_api.py index 4d00df22a5..7e77aab779 100644 --- a/frappe/tests/test_api.py +++ b/frappe/tests/test_api.py @@ -46,7 +46,7 @@ class TestResourceAPI(unittest.TestCase): f"{self.SITE_URL}/api/method/login", data={ "usr": "Administrator", - "pwd": "root" or frappe.conf.admin_password or "admin", + "pwd": frappe.conf.admin_password or "admin", }, ).cookies.get("sid")