other_non_admin_user¶
Scope: function | Returns: LimeUser
The other_non_admin_user fixture provides the second user with standard permissions.
Default implementation¶
By default, other_non_admin_user fetches the user with username standard_2 from the test database:
@pytest.fixture
def other_non_admin_user(user_repository) -> LimeUser:
return user_repository.get_by_username("standard_2")
Customization¶
Override other_non_admin_user. Use the create_user fixture to create a fresh user for the test: