Files
Remote-Terminal-for-MeshCore/tests/conftest.py
Jack Kingsman 557cb12879 Initial commit
2026-01-06 20:02:48 -08:00

17 lines
392 B
Python

"""Pytest configuration and shared fixtures."""
import pytest
@pytest.fixture
def sample_channel_key():
"""A sample 16-byte channel key for testing."""
return bytes.fromhex("0123456789abcdef0123456789abcdef")
@pytest.fixture
def sample_hashtag_key():
"""A channel key derived from hashtag name '#test'."""
import hashlib
return hashlib.sha256(b"#test").digest()[:16]