Skip to content
Myr

remove old test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 5334e28 · Browse files · 1 file+0 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−10 removed

  • tests:+0 added−10 removed

1 file+0 added−10 removed

modified:tests/test_cli.py-10 removed
5 unmodified lines
6import sys7import types8from functools import partial9from pathlib import Path10from unittest.mock import patch1011import click12import pytest13from _pytest.monkeypatch import notset
9 unmodified lines
23from flask.cli import FlaskGroup24from flask.cli import get_version25from flask.cli import load_dotenv26from flask.cli import locate_app28from flask.cli import main as cli_main27from flask.cli import NoAppException28from flask.cli import prepare_import29from flask.cli import run_command30from flask.cli import ScriptInfo
620 unmodified lines
651 app.register_blueprint(bp)652653 result = app.test_cli_runner().invoke(args=["blue", "--help"])654 assert result.exit_code == 2, f"Unexpected success:\n\n{result.output}"657658659def test_click_7_deprecated():660 with patch("flask.cli.cli"):661 if int(click.__version__[0]) < 8:662 pytest.deprecated_call(cli_main, match=".* Click 7 is deprecated")663 else:664 cli_main()