def METHOD_NAME(self, mocker: MockerFixture) -> None:
    """Test is_interactive."""
    mocker.patch.object(self.env, "ci", False)
    ctx = BaseContext(deploy_environment=self.env)
    assert ctx.is_interactive
    mocker.patch.object(self.env, "ci", True)
    assert not ctx.is_interactive