"""Shared test fixtures."""

from __future__ import annotations

import pytest

from pybyd._crypto.bangcle import BangcleCodec
from pybyd.config import BydConfig


@pytest.fixture
def codec() -> BangcleCodec:
    """BangcleCodec with default table loading."""
    return BangcleCodec()


@pytest.fixture
def test_config() -> BydConfig:
    """Minimal test configuration."""
    return BydConfig(username="test@example.com", password="testpass123")
