diff --git a/tests/test_cli.py b/tests/test_cli.py index c1dc5ea5..f3f8aca1 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -44,7 +44,6 @@ def test_cli_name(test_apps): def test_find_best_app(test_apps): - """Test if `find_best_app` behaves as expected with different combinations of input.""" # noqa: B950 script_info = ScriptInfo() class Module: @@ -271,7 +270,6 @@ def test_get_version(test_apps, capsys): def test_scriptinfo(test_apps, monkeypatch): - """Test of ScriptInfo.""" obj = ScriptInfo(app_import_path="cliapp.app:testapp") app = obj.load_app() assert app.name == "testapp" @@ -321,8 +319,6 @@ def test_scriptinfo(test_apps, monkeypatch): def test_with_appcontext(runner): - """Test of with_appcontext.""" - @click.command() @with_appcontext def testcmd(): @@ -336,8 +332,6 @@ def test_with_appcontext(runner): def test_appgroup(runner): - """Test of with_appcontext.""" - @click.group(cls=AppGroup) def cli(): pass @@ -366,8 +360,6 @@ def test_appgroup(runner): def test_flaskgroup(runner): - """Test FlaskGroup.""" - def create_app(): return Flask("flaskgroup") @@ -386,8 +378,6 @@ def test_flaskgroup(runner): @pytest.mark.parametrize("set_debug_flag", (True, False)) def test_flaskgroup_debug(runner, set_debug_flag): - """Test FlaskGroup debug flag behavior.""" - def create_app(): app = Flask("flaskgroup") app.debug = True diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 109c959f..873a06c7 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -116,8 +116,6 @@ class TestJSON: "test_value", [0, -1, 1, 23, 3.14, "s", "longer string", True, False, None] ) def test_jsonify_basic_types(self, test_value, app, client): - """Test jsonify with basic types.""" - url = "/jsonify_basic_types" app.add_url_rule(url, url, lambda x=test_value: flask.jsonify(x)) rv = client.get(url) @@ -125,7 +123,6 @@ class TestJSON: assert flask.json.loads(rv.data) == test_value def test_jsonify_dicts(self, app, client): - """Test jsonify with dicts and kwargs unpacking.""" d = { "a": 0, "b": 23,