def METHOD_NAME(self, mocker):
    mocker.patch("stripe.api_key", None)
    link = util.dashboard_link(self.DUMMY_REQ_ID)
    assert (
        link
        == "https://dashboard.stripe.com/test/logs/" + self.DUMMY_REQ_ID
    )