"""Tests for domain_classifier lazy import __getattr__."""

import pytest


class TestDomainClassifierLazyImports:
    def test_invalid_attribute_raises(self):
        with pytest.raises(AttributeError, match="has no attribute"):
            from local_deep_research import domain_classifier

            domain_classifier.__getattr__("NonexistentThing")
