From 4a8ea49b80c871194a8722eb4eaea4152f2b40b4 Mon Sep 17 00:00:00 2001 From: Robin <167366979+allrob23@users.noreply.github.com> Date: Thu, 8 May 2025 11:10:49 +0000 Subject: [PATCH] test: add global seed --- auth0/test/conftest.py | 6 ++++++ auth0/test_async/conftest.py | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 auth0/test/conftest.py create mode 100644 auth0/test_async/conftest.py diff --git a/auth0/test/conftest.py b/auth0/test/conftest.py new file mode 100644 index 00000000..c6327215 --- /dev/null +++ b/auth0/test/conftest.py @@ -0,0 +1,6 @@ +import pytest +import random + +@pytest.fixture(autouse=True) +def set_random_seed(): + random.seed(42) \ No newline at end of file diff --git a/auth0/test_async/conftest.py b/auth0/test_async/conftest.py new file mode 100644 index 00000000..c6327215 --- /dev/null +++ b/auth0/test_async/conftest.py @@ -0,0 +1,6 @@ +import pytest +import random + +@pytest.fixture(autouse=True) +def set_random_seed(): + random.seed(42) \ No newline at end of file