From 87f39a639a3cc6428c5b60b4f1fe0e7f39754420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Tue, 20 Apr 2021 12:36:14 +0200 Subject: [PATCH] Apply dotfiles --- users_ldap_populate/__manifest__.py | 1 + users_ldap_populate/tests/test_users_ldap_populate.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/users_ldap_populate/__manifest__.py b/users_ldap_populate/__manifest__.py index 3ccb277f0a..93c221ccec 100644 --- a/users_ldap_populate/__manifest__.py +++ b/users_ldap_populate/__manifest__.py @@ -6,6 +6,7 @@ "version": "13.0.1.0.0", "author": "Therp BV, Odoo Community Association (OCA)", "maintainers": ["joao-p-marques"], + "website": "https://github.com/OCA/server-auth", "license": "AGPL-3", "category": "Tools", "depends": ["auth_ldap"], diff --git a/users_ldap_populate/tests/test_users_ldap_populate.py b/users_ldap_populate/tests/test_users_ldap_populate.py index 53a55ce81d..03a80f0328 100644 --- a/users_ldap_populate/tests/test_users_ldap_populate.py +++ b/users_ldap_populate/tests/test_users_ldap_populate.py @@ -53,7 +53,7 @@ def get_fake_ldap(self): "ldap_base": "fake", "deactivate_unknown_users": True, "no_deactivate_user_ids": [ - (6, 0, [self.env.ref("base.user_admin").id,]) + (6, 0, [self.env.ref("base.user_admin").id]) ], }, ) @@ -71,7 +71,7 @@ def test_users_ldap_populate(self): [ ( "DN=fake", - {"cn": ["fake"], "uid": ["fake"], "mail": ["fake@fakery.com"],}, + {"cn": ["fake"], "uid": ["fake"], "mail": ["fake@fakery.com"]}, ) ], ): @@ -91,7 +91,7 @@ def test_users_ldap_populate(self): def test_users_ldap_populate_reactivate(self): # Create deactivated user inactive_user = self.env["res.users"].create( - {"name": "test_inactive", "login": "test_inactive", "active": False,} + {"name": "test_inactive", "login": "test_inactive", "active": False} ) with patch_ldap( self,