More fixes.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2021-10-04 15:22:00 -04:00
parent 5d17c30557
commit 0b0bde48d1

View File

@@ -1,6 +1,6 @@
"""Tests for validating the Settings object."""
import os
import pathlib
import random
import pytest
@@ -13,7 +13,7 @@ def example_settings() -> settings.Settings:
return settings.Settings(
creds=settings.CredentialSettings(
baseurl="http://nowhere.huh",
token=str(random.randint(0, 1000000)),
token=str(os.urandom(8), "utf-8"),
),
)