Skip to content

Commit

Permalink
test: Fix duplicate testing with different async backends.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblast-dev committed Jun 5, 2024
1 parent ace42b5 commit 0b0f451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ docs = [
"enum-tools>=0.11.0",
"sphinx-rtd-theme>=2.0.0",
]
testing = ["Flask>=3.0.2", "anyio[trio]>=4.3.0", "pytest-env>=1.1.3"]
testing = ["Flask>=3.0.2", "anyio>=4.3.0", "pytest-env>=1.1.3"]
dev = ["vshieldpy[testing]", "ruff"]

[project.urls]
Expand Down
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def test_server():
},
)
thread.start()
@pytest.fixture
def anyio_backend():
return "asyncio"


client = vshieldpy.Client()

0 comments on commit 0b0f451

Please sign in to comment.