Commit 36f2de49 authored by Nico's avatar Nico
Browse files

Don't randomly generate auth_token in tests

In case something fails due to this, it's hard to debug it without
knowing the exact auth_token. Fuzzy testing should be done at another
place.
parent 04ce7107
......@@ -2,8 +2,6 @@
# SPDX-License-Identifier: AGPL-3.0-only
# License-Filename: LICENSE.md
from random import choice
from string import ascii_letters, digits
from unittest import mock
import pytest
......@@ -20,7 +18,7 @@ def api(auth_token):
@pytest.fixture
def auth_token():
return ''.join(choice(ascii_letters + digits) for i in range(33))
return 'NMDArEDjYlagINGd77WkKdxqDUAkYCWwh'
@pytest.fixture
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment