File tree Expand file tree Collapse file tree 3 files changed +2
-15
lines changed
Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " pristan"
7- version = " 0.0.8 "
7+ version = " 0.0.9 "
88authors = [{ name = " Evgeniy Blinov" , email = " zheni-b@yandex.ru" }]
99description = " Function-based plugin system with respect to typing"
1010readme = " README.md"
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ pytest-mypy-testing==0.1.3
77ruff==0.14.6
88mutmut==3.2.3
99full_match==0.0.3
10- transfunctions ==0.0.11
10+ transtests ==0.0.1
Original file line number Diff line number Diff line change 22from typing import Dict , List
33
44import pytest
5- from transfunctions import transfunction
6-
7-
8- @pytest .fixture (params = ['async' , 'sync' , 'generator' ])
9- def transformed (request ):
10- def transformator_function (function ):
11- if request .param == 'sync' :
12- return function
13- if request .param == 'async' :
14- return transfunction (function , check_decorators = False ).get_async_function ()
15- if request .param == 'generator' :
16- return transfunction (function , check_decorators = False ).get_generator_function ()
17- return transformator_function
185
196
207@pytest .fixture (params = [Dict , dict ])
You can’t perform that action at this time.
0 commit comments