Skip to content

Commit

Permalink
Apply dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul authored and carolinafernandez-tecnativa committed Sep 27, 2023
1 parent e778102 commit 87f39a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions users_ldap_populate/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
6 changes: 3 additions & 3 deletions users_ldap_populate/tests/test_users_ldap_populate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
],
},
)
Expand All @@ -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"]},
)
],
):
Expand All @@ -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,
Expand Down

0 comments on commit 87f39a6

Please sign in to comment.