From 36f2de4908dc7390c723800d7a7201409e142003 Mon Sep 17 00:00:00 2001
From: Nico Alt <nicoalt@posteo.org>
Date: Sun, 7 Jun 2020 12:00:00 +0000
Subject: [PATCH] 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.
---
 tests/conftest.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/conftest.py b/tests/conftest.py
index 7d483ab..9310856 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -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
-- 
GitLab