From 65c4f28ffd3f2fc315a44916e9fc355f16fdb86e Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Tue, 10 Dec 2024 16:26:59 +0530 Subject: [PATCH] fix: tests --- tests/conftest.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 42cdac1d..55838c6b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -71,7 +71,8 @@ def frappe_site(compose: Compose): site_name = "tests.localhost" compose.bench( "new-site", - "--mariadb-user-host-login-scope=%", + # TODO: change to --mariadb-user-host-login-scope=% + "--no-mariadb-socket", "--db-root-password=123", "--admin-password=admin", site_name, @@ -94,13 +95,11 @@ def erpnext_site(compose: Compose): site_name = "test-erpnext-site.localhost" args = [ "new-site", - "--mariadb-user-host-login-scope=%", - "--db-root-password", - "123", - "--admin-password", - "admin", - "--install-app", - "erpnext", + # TODO: change to --mariadb-user-host-login-scope=% + "--no-mariadb-socket", + "--db-root-password=123", + "--admin-password=admin", + "--install-app=erpnext", site_name, ] compose.bench(*args)