Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/structures/graphs/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from math import ceil, sqrt
from random import choices, randint
from random import choices, randint, seed
from typing import Any, Dict, List, Set, Tuple, Type, Union

import pytest
Expand All @@ -12,6 +12,11 @@
MAX_WEIGHT = 1000


def pytest_sessionstart(session):
"""Initialize a fixed global random seed for the test session."""
seed(17)


@pytest.fixture(
scope="module",
params=[
Expand Down