def METHOD_NAME(self):
    with pytest.raises(StreamlitAPIException) as e:
        SnowparkConnection("my_snowpark_connection", user="my_user")
    assert "Missing Snowpark connection param: account" == str(e.value)