aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
Commit message (Collapse)AuthorAgeFilesLines
* [library/python/pytest/plugins/ya] Limit snippet size up to 8kbprettyboy2023-09-071-1/+5
|
* [library/python/testing/yatest_common/yatest/common/process] Limit snippet ↵prettyboy2023-09-071-1/+1
| | | | size in logs up to 64kb
* [library/python/testing/yatest_common/yatest/common/process] Reduce noise ↵prettyboy2023-09-021-0/+3
| | | | from coredump_filter
* Moved udf_test and refactored test_frameworkvvvv2023-08-3016-0/+3879
| | | | | | | | | | | | | | | | | | | | | Локально упавший тест выполняется %% vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ arc checkout move_udf_test_and_refactor_tf Switched to branch 'move_udf_test_and_refactor_tf' vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ ya make -tA -F '*test_unchanged_table*' Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement cpu is redefined 2 -> 4 Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement ram is redefined 16 -> 9 Number of suites skipped by name: 2, by filter *test_unchanged_table* Total 1 suite: 1 - GOOD Total 4 tests: 4 - GOOD Ok %% судя по ошибке он flaky
* Intermediate changesrobot-piglet2023-08-273-0/+96
|
* Put library/python/resource under ya styleshadchin2023-08-279-73/+59
|
* Remove unused codeshadchin2023-08-261-57/+0
|
* Remove excessive PEERDIR to contrib/python/requeststhegeorg2023-08-251-1/+0
| | | | contrib/python/requests/py2 depends on LGPL-licensed chardet module, we do not want this.
* Fix some style issues in library/python/pytestthegeorg2023-08-244-28/+91
| | | | | | | | Two issues remain unfixed: ``` [fail] library/python/pytest/rewrite.py:96: [PLW0122] Use of exec (exec-used) [fail] library/python/pytest/yatest_tools.py:49: [F821] undefined name 'unicode' ```
* Enable recipe to run with test env file name in the command linealexv-smirnov2023-08-232-2/+4
|
* Fix yatest.common.process stdout/stderr redirection on macOSsomov2023-08-161-1/+1
|
* Enable recipe to run with test context options in the command linealexv-smirnov2023-08-141-1/+4
| | | | It allows to start recipes outside ya make without creating a context file
* Virtual destructor librariesjack2392023-08-141-0/+1
| | | | Virtual destructor in cpp library
* Get rid of excessive PEERDIRsthegeorg2023-08-031-4/+0
|
* Add set_metric_value, so non-pytest tests could write metricsanterpin2023-08-031-0/+22
|
* Fix incorrect python string warningvitja2023-08-031-1/+1
| | | | | | | | вызывает вот такое вот предупреждение: ``` /home/vitja/arcadia/library/python/testing/filter/filter.py:10: DeprecationWarning: invalid escape sequence '\w' PARSE_TAG_RE = re.compile("([+-]?[\w:]*)") ```
* Update contrib/python/pytest/py3 to 7.3.2robot-contrib2023-08-031-0/+1
|
* Fix gdb shelliaz16072023-08-011-0/+2
|
* Prepare to update black to 23.7.0shadchin2023-07-301-2/+0
|
* Intermediate changesrobot-piglet2023-07-271-0/+2
|
* Fix testsv-korovin2023-07-191-0/+2
|
* Import test great againshadchin2023-06-301-6/+9
| | | После включения pydebug mode, в выводе import_test появилось много шума из-за `DeprecationWarning` и стало сложнее увидеть падение, добавил тут игнорирование `DeprecationWarning`
* YQ Connector: support managed ClickHousevitalyisaev2023-06-295-0/+129
| | | Со стороны dqrun можно обратиться к инстансу коннектора, который работает на streaming стенде, и извлечь данные из облачного CH.
* Fix devtools/ya/test/tests/unittests (canondata processing)v-korovin2023-06-271-1/+1
|
* Fix output dir in retries caseiaz16072023-06-211-2/+6
|
* add ymake export to ydbalexv-smirnov2023-06-1339-0/+512
|
* Fix filemode on stdout openilyasiluyanov2023-06-081-10/+3
| | | Set binary mode as default, use `str` (aka unicode) on demand
* rebase pr to fix ya package onto backward-compat fix for executeilyasiluyanov2023-06-071-5/+12
| | | | | | | | | | | | Use text=True as many as needed Create npm always tries to return text Use bytes in stdout assertions Remove strings py23_utils py23_canondata Try to make backward compatible solution first
* [library/python/testing/yatest_common/yatest/common/process] Wait for processprettyboy2023-06-061-0/+1
|
* Revert commit rXXXXXX (Preserve tests order when splitting by chunks)somov2023-05-241-17/+2
|
* [devtools/ya/test] Fixed missing diff_tool dep and use build root relative pathsprettyboy2023-05-241-0/+16
|
* Preserve tests order when splitting by chunkssomov2023-05-231-2/+17
|
* Fix some deprecation warningssomov2023-05-181-1/+4
|
* Add environment set upon test launch from test.context for python testszhukoff-pavel2023-05-101-0/+12
|
* Set Popen(text=True) for py3 just for funv-korovin2023-05-041-0/+4
|
* [library/python/testing/yatest_common/yatest] Close non-user file descriptiorsprettyboy2023-04-201-2/+8
|
* add CANONIZE_DIR_LOCALLYkmokrov2023-04-101-2/+2
| | | Tests: проверял локально, собрал `ya-bin`, во время запуска подкладывал ему собранный `test_tool` с помощью флага `--test-tool-bin`
* [logos] Reworked graph generator, added ya.make ownersmvel2023-04-051-0/+14
| | | | | | | 1) выкидываем хрупкие mock-и, заменяем их на более понятный интерфейс командной строки 2) Это даёт дополнительную гибкость: можем брать шаблоны откуда хотим, генерировать выхлоп куда хотим (а не только под себя) 3) в библиотечные функции добавляем полезнейшие `read_text` и `write_text`, потому что ну сколько ж можно 4) канонический выхлоп делаем одним файлом: во-первых это быстрее, во-вторых нет шансов пропустить какой-то новый генерируемый файл 5) костыли с .input-ами выкинул, оставил только `_` для ya.make-ов, чтоб на них не ругалась система сборки. Это даёт возможность почти везде не ломать подсветку синтаксиса в `ut/input`, да и поддерживать проще: скопировал туда файл и всё.
* Swith flake8 to custom lint schemasay2023-03-3115-1316/+0
|
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-2847-611/+0
|
* Add cythonized python srcs lint checkszhukoff-pavel2023-03-271-1/+1
|
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-1547-0/+611
|
* Prepare custom_lint for flake8:say2023-03-071-6/+26
| | | | | | - add lint_name, global_resource and extra_param options - add option to split lint tests in chunks (FILE_PROCESSING_TIME) - rename '--configs' option to '--config' to be consistent with other option names
* Separate test for federated query with S3 recipegalaxycrab2023-03-031-0/+3
|
* Fix import tests for pydebugspeedwagon2023-03-021-7/+11
| | | | | | | | | | | Fixed: ``` arcadia/library/python/testing/import_test/import_test.py:31: [E731] do not assign a lambda expression, use a def arcadia/library/python/testing/import_test/import_test.py:33: [E731] do not assign a lambda expression, use a def arcadia/library/python/testing/import_test/import_test.py:51: [E731] do not assign a lambda expression, use a def arcadia/library/python/testing/import_test/import_test.py:71: [E741] ambiguous variable name 'l' arcadia/library/python/testing/import_test/import_test.py:96: [E722] do not use bare 'except' arcadia/library/python/testing/import_test/import_test.py:151: [E722] do not use bare 'except' ```
* Fix pytest -kiaz16072023-02-221-0/+1
|
* fix pyrest.mark.trylast in ya,pynik-bes2023-02-221-1/+1
|
* replace pytest.mark.tryfirst in ya.py pluginnik-bes2023-02-171-1/+1
| | | https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
* Migrate black linter on custom_lint pipelinesay2023-02-1415-0/+1296
|
* Refactor library/python/pytest and library/python/testingromakudlakov2023-02-101-2/+0
| | | Remove test-started/test-finished events generator in pytest_runner