def test_load_renderer_not_subclass(): with pytest.raises(MystNbEntryPointError): load_renderer("default")
def test_load_renderer_not_found(): with pytest.raises(MystNbEntryPointError): load_renderer("other")
def test_load_renderer_not_subclass(): with pytest.raises(MystNbEntryPointError, match="Entry Point .* not a subclass"): load_renderer("default")