Skip to content

explicit use of fixture decorator #1783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from datetime import datetime

import pytest
from pytest_asyncio import fixture
import pytest_asyncio

from elasticsearch_dsl import Q

Expand All @@ -41,7 +41,7 @@
)


@fixture
@pytest_asyncio.fixture
async def question(async_write_client):
await setup()
assert await async_write_client.indices.exists_template(name="base")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from datetime import datetime

import pytest
from pytest import fixture

from elasticsearch_dsl import Q

Expand All @@ -41,7 +40,7 @@
)


@fixture
@pytest.fixture
def question(write_client):
setup()
assert write_client.indices.exists_template(name="base")
Expand Down
Loading