"""Reusable Nexus testkit helpers."""

from tests.testkit.assertions import (
    assert_dependency_failure,
    assert_event_matches,
    assert_metadata_contains,
    assert_permission_denied,
)
from tests.testkit.auth import TEST_ADMIN_CONTEXT, TEST_CONTEXT, operation_context
from tests.testkit.backends import FailingBackend
from tests.testkit.containers import ServiceInfo
from tests.testkit.metadata import DictMetastore, FailingMetastore, InMemoryNexusFS, MetastoreError
from tests.testkit.nexus_factory import make_test_nexus
from tests.testkit.profiles import TestProfile, profile_matrix, pytest_profile_params
from tests.testkit.records import InMemoryRecordStore
from tests.testkit.websocket import MockWebSocket

__all__ = [
    "DictMetastore",
    "FailingBackend",
    "FailingMetastore",
    "InMemoryNexusFS",
    "InMemoryRecordStore",
    "MetastoreError",
    "MockWebSocket",
    "ServiceInfo",
    "TEST_ADMIN_CONTEXT",
    "TEST_CONTEXT",
    "TestProfile",
    "assert_dependency_failure",
    "assert_event_matches",
    "assert_metadata_contains",
    "assert_permission_denied",
    "make_test_nexus",
    "operation_context",
    "profile_matrix",
    "pytest_profile_params",
]
