mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 06:31:27 +08:00
14 lines
318 B
Python
14 lines
318 B
Python
|
from tests.utils import login
|
||
|
|
||
|
|
||
|
def test_get_setting(flask_client):
|
||
|
user = login(flask_client)
|
||
|
|
||
|
r = flask_client.get("/api/setting")
|
||
|
assert r.status_code == 200
|
||
|
assert r.json == {
|
||
|
"alias_generator": "uuid",
|
||
|
"notification": True,
|
||
|
"random_alias_default_domain": "sl.local",
|
||
|
}
|