mirror of
https://github.com/rommapp/romm.git
synced 2026-07-01 08:16:21 +00:00
11 lines
299 B
Python
11 lines
299 B
Python
from handler.auth_handler import FULL_SCOPES, WRITE_SCOPES, DEFAULT_SCOPES
|
|
|
|
def test_admin(admin_user):
|
|
admin_user.oauth_scopes == FULL_SCOPES
|
|
|
|
def test_editor(editor_user):
|
|
editor_user.oauth_scopes == WRITE_SCOPES
|
|
|
|
def test_user(viewer_user):
|
|
viewer_user.oauth_scopes == DEFAULT_SCOPES
|