From 4e572eba5fa89a0ae4c5c732babe8c4bc011d435 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 30 May 2023 13:04:27 +0300 Subject: Fix linting errors and failing tests * scripts/register_sys_admin.py: fix linting error * tests/unit/auth/fixtures/oauth2_client_fixtures.py: hash client secret in database. The code expects it hashed in the database. --- scripts/register_sys_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/register_sys_admin.py b/scripts/register_sys_admin.py index 2239fc9..1696adb 100644 --- a/scripts/register_sys_admin.py +++ b/scripts/register_sys_admin.py @@ -78,4 +78,4 @@ if __name__ == "__main__": """Entry-point for when script is run directly""" return register_admin(Path(authdbpath).absolute()) - run() + run()# pylint: disable=[no-value-for-parameter] -- cgit v1.2.3