update flake8-pytest-style-plugin

This commit is contained in:
Kenneth Kehl
2024-07-15 08:07:18 -07:00
parent 437f8ca400
commit 8489fb9e61
17 changed files with 232 additions and 232 deletions

View File

@@ -9,7 +9,7 @@ class FakeService:
id = "1234"
@pytest.fixture()
@pytest.fixture
def app():
flask_app = Flask(__name__)
ctx = flask_app.app_context()
@@ -20,7 +20,7 @@ def app():
ctx.pop()
@pytest.fixture()
@pytest.fixture
def celery_app(mocker):
app = Flask(__name__)
app.config["CELERY"] = {"broker_url": "foo"}
@@ -39,7 +39,7 @@ def sample_service():
return FakeService()
@pytest.fixture()
@pytest.fixture
def rmock():
with requests_mock.mock() as rmock:
yield rmock