====================================================== FAILURES ======================================================= ______ test_type_unknown[i18n/mkdocs_wrong_order.yml-should be defined after the i18n plugin in your mkdocs.yml] ______ mkdocs_file = 'i18n/mkdocs_wrong_order.yml', error = 'should be defined after the i18n plugin in your mkdocs.yml' tmp_path = PosixPath('/var/tmp/portage/dev-python/mkdocs-git-revision-date-localized-plugin-1.0.0/temp/pytest-of-portage/pytest-0/test_type_unknown_i18n_mkdocs_0') @pytest.mark.parametrize("mkdocs_file, error", INVALID_MKDOCS_FILES) def test_type_unknown(mkdocs_file, error, tmp_path): """ Make sure invalid mkdocs.yml specification raise the correct errors. """ testproject_path = setup_clean_mkdocs_folder( mkdocs_yml_path=f"tests/fixtures/{ mkdocs_file }", # mkdocs_file, # tmp_path, , output_path=tmp_path ) # Setup git commit history assert not os.path.exists(str(testproject_path / ".git")) testproject_path = str(testproject_path) repo = git.Repo.init(testproject_path, bare=False) author = "Test Person <testtest@gmail.com>" with working_directory(testproject_path): # page_with_tags contains tags we replace and test repo.git.add(".") repo.git.commit(message="add all", author=author, date="1500854705") # Mon Jul 24 2017 00:05:05 GMT+0000 result = build_docs_setup(testproject_path) assert result.exit_code == 1 > assert error in result.stdout or error in str(result.exc_info[0]) E assert ('should be defined after the i18n plugin in your mkdocs.yml' in '\x1b[31mERROR - \x1b[0mConfig value: \'plugins\'. Error: The "i18n" plugin is not installed\nAborted with 1 Configuration Errors!\n' or 'should be defined after the i18n plugin in your mkdocs.yml' in "<class 'SystemExit'>") E + where '\x1b[31mERROR - \x1b[0mConfig value: \'plugins\'. Error: The "i18n" plugin is not installed\nAborted with 1 Configuration Errors!\n' = <Result SystemExit(1)>.stdout E + and "<class 'SystemExit'>" = str(<class 'SystemExit'>)
it looks like the same of 833869
Created attachment 765601 [details] build.log.xz build.log.xz
*** This bug has been marked as a duplicate of bug 833869 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2370416251362da194a96482d912f2ff3ddca3 commit dd2370416251362da194a96482d912f2ff3ddca3 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-02-22 08:16:58 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-02-22 08:17:10 +0000 dev-python/mkdocs-git-revision-date-localized-plugin: add missing test dep mkdocs-i18n is not only a doc gen dep, but also a test dep Closes: https://bugs.gentoo.org/833869 Bug: https://bugs.gentoo.org/833871 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../mkdocs-git-revision-date-localized-plugin-1.0.0.ebuild | 1 + 1 file changed, 1 insertion(+)