Files
zeekay 55e9fa9421 brand: did:lux -> did:zap across Rust + Python identity
ZAP is brand-neutral; did:lux was a leftover from the Lux/Hanzo extraction.
Rename DidMethod::Lux -> Zap / DIDMethod.LUX -> ZAP, the 'lux' method string,
from_mldsa_key_lux -> _zap, the blockchain_account_id chain prefix lux: -> zap:,
and all did:lux: URIs + tests. No cross-language KAT pins the method string
(rns uses a separate DID scheme), so this is safe in lockstep. Rust 19 identity
tests + Python 68 identity/consensus tests pass.
2026-06-20 23:30:09 -07:00

25 lines
599 B
Python

"""Pytest configuration and fixtures for ZAP tests."""
import pytest
@pytest.fixture
def sample_did():
"""Create a sample DID for testing."""
from zap_schema.identity import Did
return Did(method="zap", id="z6MkTest123")
@pytest.fixture
def sample_did_key():
"""Create a sample did:key DID."""
from zap_schema.identity import Did
return Did(method="key", id="z6MkTestKey456")
@pytest.fixture
def sample_query(sample_did):
"""Create a sample query for testing."""
from zap_schema.agent_consensus import Query
return Query.create("What is 2+2?", sample_did)