forked from goodboy/tractor
Expose `tractor_test` in the same way as `trio`
parent
0879150399
commit
512a2f25a2
|
@ -5,7 +5,7 @@ import random
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import tractor
|
import tractor
|
||||||
from tractor._tractor_test import tractor_test
|
from tractor.testing import tractor_test
|
||||||
|
|
||||||
|
|
||||||
pytest_plugins = ['pytester']
|
pytest_plugins = ['pytester']
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
from ._tractor_test import tractor_test
|
|
@ -1,7 +1,10 @@
|
||||||
import inspect
|
import inspect
|
||||||
from functools import partial, wraps
|
from functools import partial, wraps
|
||||||
|
|
||||||
from . import run
|
from .. import run
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = ['tractor_test']
|
||||||
|
|
||||||
|
|
||||||
def tractor_test(fn):
|
def tractor_test(fn):
|
Loading…
Reference in New Issue