from tamq.service import Service def test_peer_auth_method_exists(): assert hasattr(Service, "_peer_allowed")