diff options
| author | alexv-smirnov <[email protected]> | 2023-03-15 19:59:12 +0300 | 
|---|---|---|
| committer | alexv-smirnov <[email protected]> | 2023-03-15 19:59:12 +0300 | 
| commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
| tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/python/pytest | |
| parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/python/pytest')
| -rw-r--r-- | library/python/pytest/plugins/ya.make | 32 | ||||
| -rw-r--r-- | library/python/pytest/ut/ya.make | 14 | ||||
| -rw-r--r-- | library/python/pytest/ya.make | 36 | 
3 files changed, 82 insertions, 0 deletions
| diff --git a/library/python/pytest/plugins/ya.make b/library/python/pytest/plugins/ya.make new file mode 100644 index 00000000000..41e20f6e2f0 --- /dev/null +++ b/library/python/pytest/plugins/ya.make @@ -0,0 +1,32 @@ +PY23_LIBRARY() + +PY_SRCS( +    ya.py +    collection.py +    conftests.py +    fixtures.py +    metrics.py +) + +PEERDIR( +    library/python/filelock +    library/python/find_root +    library/python/testing/filter +    library/python/testing/yatest_common +) + +IF (PYTHON2) +    PY_SRCS( +        fakeid_py2.py +    ) + +    PEERDIR( +        contrib/deprecated/python/faulthandler +    ) +ELSE() +    PY_SRCS( +        fakeid_py3.py +    ) +ENDIF() + +END() diff --git a/library/python/pytest/ut/ya.make b/library/python/pytest/ut/ya.make new file mode 100644 index 00000000000..bb94c24c70b --- /dev/null +++ b/library/python/pytest/ut/ya.make @@ -0,0 +1,14 @@ +PY23_TEST() + +TEST_SRCS( +    test_tools.py +) + +PEERDIR( +    contrib/python/pytest-mock +    library/python/pytest +) + +STYLE_PYTHON() + +END() diff --git a/library/python/pytest/ya.make b/library/python/pytest/ya.make new file mode 100644 index 00000000000..b04788cc472 --- /dev/null +++ b/library/python/pytest/ya.make @@ -0,0 +1,36 @@ +PY23_LIBRARY() + +PY_SRCS( +    __init__.py +    config.py +    context.py +    main.py +    rewrite.py +    yatest_tools.py +) + +PEERDIR( +    contrib/python/python-dateutil +    contrib/python/ipdb +    contrib/python/py +    contrib/python/pytest +    contrib/python/requests +    library/python/pytest/plugins +    library/python/testing/yatest_common +    library/python/testing/yatest_lib +) + +IF (NOT OPENSOURCE) +    PEERDIR(contrib/tools/gprof2dot) +ENDIF() + +RESOURCE_FILES( +    PREFIX library/python/pytest/ +    pytest.yatest.ini +) + +END() + +RECURSE_FOR_TESTS( +    ut +) | 
