Commit 01f35cdc authored by Nico Alt's avatar Nico Alt

Support python versions lower than 3.6 with tests
parent 929ead31
Pipeline #3552 passed with stage
in 4 minutes and 4 seconds
......@@ -3,7 +3,7 @@
# License-Filename:
import json
from random import choices
from random import choice
import requests_mock
from string import ascii_letters, digits
from unittest import mock
......@@ -41,4 +41,4 @@ def request_headers(auth_token):
def auth_token():
return ''.join(choices(ascii_letters + digits, k=33))
return ''.join(choice(ascii_letters + digits) for i in range(33))
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