Package: src:buku Version: 4.4+ds-1 Severity: serious Tags: sid bullseye User: debian-pyt...@lists.debian.org Usertags: python3.9
https://ci.debian.net/data/autopkgtest/testing/amd64/b/buku/8348926/log.gz [...] tests/test_bukuDb.py:1082: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ caplog = <_pytest.logging.LogCaptureFixture object at 0x7f31084b1d30> read_in_retval = 'y' @pytest.mark.parametrize('read_in_retval', ['y', 'n', '']) def test_update_rec_update_all_bookmark(caplog, read_in_retval): """test method.""" if (sys.version_info.major, sys.version_info.minor) == (3, 8): caplog.set_level(logging.DEBUG) with mock.patch('buku.read_in', return_value=read_in_retval): import buku bdb = buku.BukuDb() res = bdb.update_rec(index=0, tags_in='tags1') if read_in_retval != 'y': assert not res return assert res try: if (sys.version_info.major, sys.version_info.minor) == (3, 8): assert caplog.records[0].getMessage() == \ 'update_rec query: "UPDATE bookmarks SET tags = ?", args: [\',tags1,\']' else: > assert caplog.records[0].getMessage() == \ 'query: "UPDATE bookmarks SET tags = ?", args: [\',tags1\']' E IndexError: list index out of range tests/test_bukuDb.py:1071: IndexError =============================== warnings summary =============================== /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331 /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331: PytestUnknownMarkWarning: Unknown pytest.mark.non_tox - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html warnings.warn( tests/test_bukuDb.py::test_print_rec_hypothesis /usr/lib/python3/dist-packages/hypothesis/extra/pytestplugin.py:170: HypothesisDeprecationWarning: tests/test_bukuDb.py::test_print_rec_hypothesis uses the 'caplog' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. note_deprecation( tests/test_bukuDb.py::test_print_rec_hypothesis /usr/lib/python3/dist-packages/hypothesis/extra/pytestplugin.py:170: HypothesisDeprecationWarning: tests/test_bukuDb.py::test_print_rec_hypothesis uses the 'setup' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. note_deprecation( tests/test_bukuDb.py::test_delete_rec_range_and_delay_commit /usr/lib/python3/dist-packages/hypothesis/extra/pytestplugin.py:170: HypothesisDeprecationWarning: tests/test_bukuDb.py::test_delete_rec_range_and_delay_commit uses the 'setup' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function. See https://docs.pytest.org/en/latest/fixture.html#sharing-test-data for details on fixture scope. note_deprecation( tests/test_bukuDb.py::test_load_firefox_database[True] tests/test_bukuDb.py::test_load_firefox_database[False] /tmp/autopkgtest-lxc.6o7juwq1/downtmp/build.1GI/src/tests/test_bukuDb.py:1206: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. res_yaml = yaml.load(f) -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.9.0-final-0 ----------- Name Stmts Miss Cover ----------------------------- buku.py 2753 1737 37% =============== 1 failed, 88 passed, 6 warnings in 85.44 seconds ===============