def METHOD_NAME(self):
    config = CliRuntime()
    config.keychain.get_org = mock.Mock(
        return_value=OrgConfig({"scratch": True, "created": True}, "test")
    )
    with pytest.raises(click.ClickException):
        config.check_org_overwrite("test")