Repository navigation
Add tests for missing modules - #1523
Merged
Merged
Conversation
Reformat tests & code for renameuser command.
files starting with dot not an issue due to form validation of django
Mostly, removed modules were still linked in autodoc. ``` DEBUG:urllib3.connectionpool: https://docs.djangoproject.com:443 "GET /en/5.2/objects.inv HTTP/1.1" 200 108141 intersphinx inventory has moved: https://docs.djangoproject.com/en/5.2/_objects/ -> https://docs.djangoproject.com/en/5.2/objects.inv WARNING: autodoc: failed to import 'macros' from module 'inyoka.forum'; the following exception was raised: Traceback (most recent call last): File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 131, in _import_from_module_and_path module = _import_module(module_name, try_reload=True) File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 218, in _import_module raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'inyoka.forum.macros' [autodoc.import_object] WARNING: autodoc: failed to import 'services' from module 'inyoka.ikhaya'; the following exception was raised: Traceback (most recent call last): File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 131, in _import_from_module_and_path module = _import_module(module_name, try_reload=True) File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 218, in _import_module raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'inyoka.ikhaya.services' [autodoc.import_object] WARNING: autodoc: failed to import 'filters' from module 'inyoka.portal'; the following exception was raised: Traceback (most recent call last): File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 131, in _import_from_module_and_path module = _import_module(module_name, try_reload=True) File "/home/runner/venv/lib/python3.14/site-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 218, in _import_module raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'inyoka.portal.filters' [autodoc.import_object] /home/runner/work/inyoka-pub/inyoka-pub/docs/../inyoka/utils/forms.py:docstring of inyoka.utils.forms.validate_file_extension:18: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] /home/runner/work/inyoka-pub/inyoka-pub/docs/releases/0.x.rst:125: WARNING: Title underline too short. 1.52.10 (2026-07-22) =================== [docutils] ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see commit messages for details