Skip to content

Commit

Permalink
really really fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Nov 13, 2024
1 parent 92fed33 commit ce286d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/test_rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def test_create_role(client_factory: ClientFactory) -> None:
role = client.roles.by_name("CollectionCreator")
assert role is not None
assert role.name == "CollectionCreator"
assert role.database_permissions is not None
assert len(role.database_permissions) == 1
assert role.database_permissions[0] == RBAC.actions.collection.CREATE_COLLECTIONS
assert role.collections_permissions is not None
assert len(role.collections_permissions) == 1
assert role.collections_permissions[0] == RBAC.actions.collection.CREATE_COLLECTIONS

0 comments on commit ce286d6

Please sign in to comment.