mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
11 lines
286 B
Python
11 lines
286 B
Python
from utils.oauth import DEFAULT_SCOPES, WRITE_SCOPES, FULL_SCOPES
|
|
|
|
def test_admin_user(admin_user):
|
|
admin_user.oauth_scopes == FULL_SCOPES
|
|
|
|
def test_editor_user(editor_user):
|
|
editor_user.oauth_scopes == WRITE_SCOPES
|
|
|
|
def test_user(user):
|
|
user.oauth_scopes == DEFAULT_SCOPES
|