Skip to content

euri10/pytest_autouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync first fails

import pytest

from src import __version__


def test_version() -> None:
    assert __version__ == "0.1.0"

# @pytest.mark.anyio
# async def test_version() -> None:
#     assert __version__ == "0.1.0"

@pytest.mark.anyio
async def test_afixture(afixture: int):
    print(afixture)
    assert afixture == 1

async first passes

import pytest

from src import __version__


# def test_version() -> None:
#     assert __version__ == "0.1.0"

@pytest.mark.anyio
async def test_version() -> None:
    assert __version__ == "0.1.0"

@pytest.mark.anyio
async def test_afixture(afixture: int):
    print(afixture)
    assert afixture == 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages