diff options
author | maxim-yurchuk <[email protected]> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <[email protected]> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/pytest-mock/py3/patches | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/pytest-mock/py3/patches')
-rw-r--r-- | contrib/python/pytest-mock/py3/patches/01-fix-tests.patch | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/contrib/python/pytest-mock/py3/patches/01-fix-tests.patch b/contrib/python/pytest-mock/py3/patches/01-fix-tests.patch new file mode 100644 index 00000000000..80864944ae6 --- /dev/null +++ b/contrib/python/pytest-mock/py3/patches/01-fix-tests.patch @@ -0,0 +1,76 @@ +--- contrib/python/pytest-mock/py3/tests/test_pytest_mock.py (index) ++++ contrib/python/pytest-mock/py3/tests/test_pytest_mock.py (working tree) +@@ -469,2 +469,3 @@ def test_static_method_subclass_spy(mocker: MockerFixture) -> None: + [email protected]("Skip testdir") + def test_callable_like_spy(testdir: Any, mocker: MockerFixture) -> None: +@@ -583,4 +585,5 @@ def test_assert_called_wrapper(mocker: MockerFixture) -> None: + + + @pytest.mark.usefixtures("needs_assert_rewrite") + def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: +@@ -599,4 +602,5 @@ def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: + + + @pytest.mark.usefixtures("needs_assert_rewrite") + def test_assert_called_kwargs_with_introspection(mocker: MockerFixture) -> None: +@@ -633,2 +637,3 @@ def test_assert_has_calls(mocker: MockerFixture) -> None: + [email protected]("Skip testdir") + def test_monkeypatch_ini(testdir: Any, mocker: MockerFixture) -> None: +@@ -680,2 +685,3 @@ def test_patched_method_parameter_name(mocker: MockerFixture) -> None: + [email protected]("Skip testdir") + def test_monkeypatch_native(testdir: Any) -> None: +@@ -704,2 +710,3 @@ def test_monkeypatch_native(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_monkeypatch_no_terminal(testdir: Any) -> None: +@@ -719,2 +725,3 @@ def test_monkeypatch_no_terminal(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_standalone_mock(testdir: Any) -> None: +@@ -740,4 +748,5 @@ def test_standalone_mock(testdir: Any) -> None: + + [email protected]("Skip testdir") + @pytest.mark.usefixtures("needs_assert_rewrite") + def test_detailed_introspection(testdir: Any) -> None: +@@ -783,6 +791,7 @@ def test_detailed_introspection(testdir: Any) -> None: + result.stdout.fnmatch_lines(expected_lines) + + [email protected]("Skip testdir") + @pytest.mark.usefixtures("needs_assert_rewrite") + def test_detailed_introspection_async(testdir: Any) -> None: + """Check that the "mock_use_standalone" is being used.""" +@@ -826,2 +836,3 @@ def test_detailed_introspection_async(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_missing_introspection(testdir: Any) -> None: +@@ -847,2 +859,3 @@ def test_assert_called_with_unicode_arguments(mocker: MockerFixture) -> None: + [email protected]("Skip testdir") + def test_plain_stopall(testdir: Any) -> None: +@@ -953,2 +964,3 @@ def test_patch_context_manager_with_context_manager(mocker: MockerFixture) -> No + [email protected]("Skip testdir") + def test_abort_patch_context_manager_with_stale_pyc(testdir: Any) -> None: +@@ -957,2 +970,3 @@ def test_abort_patch_context_manager_with_stale_pyc(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_used_with_class_scope(testdir: Any) -> None: +@@ -981,2 +995,3 @@ def test_used_with_class_scope(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_used_with_module_scope(testdir: Any) -> None: +@@ -1003,2 +1018,3 @@ def test_used_with_module_scope(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_used_with_package_scope(testdir: Any) -> None: +@@ -1026,2 +1042,3 @@ def test_used_with_package_scope(testdir: Any) -> None: + [email protected]("Skip testdir") + def test_used_with_session_scope(testdir: Any) -> None: |