mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
9 lines
214 B
Python
9 lines
214 B
Python
from app import app
|
|
from endpoints.csrf import generate_csrf_token
|
|
|
|
|
|
def test_generate_csrf_token():
|
|
with app.test_request_context():
|
|
token = generate_csrf_token()
|
|
assert isinstance(token, str)
|