Re: [rhinstaller/anaconda/pulls/314 master] Add test documentation
by dashea
Update:
* The added init files are required for Sphinx to be able to discover all tests. They don't affect test results;
* The config changes in docs/conf.py are required so that we can import all tests without failures except pylint
```
************* Module ../docs/conf.py
W9940(environment-modify): 28,4: : Found potentially unsafe modification of environment
************* Module ../tests/gui/inside/__init__.py
/usr/lib/python3.4/site-packages/astroid/scoped_nodes.py:425: PyGIWarning: Atspi was imported without specifying a version first. Use gi.require_version('Atspi', '2.0') before import to ensure that the right version gets loaded.
return MANAGER.ast_from_module_name(absmodname)
************* Unused False Positives Found:
^F0401.*: Unable to import 'dogtail.*'$
FAIL pylint/runpylint.py (exit status: 4)
```
* Currently the building of the docs fails because of Dogtail for Python3
- it is still not officially available in Rawhide (I've tested with a manually build package)
- it fails because assistive technologies are disabled. Even with a patch to skip aborting it still fails because I don't have at-spi-bus-launcher running.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/314
8 years, 9 months
Updated: [rhinstaller/anaconda/pulls/314 master] Add test
documentation
by dashea
This is the start of what is supposed to be a human readable test documentation of the Anaconda test suite. Filing here for comments.
I'd like to also include API docs for the Python files under tests/ but so far I'm having troubles building these. I will likely have to add __init__.py files to all directories that are missing them and fix the import failures from Sphinx (e.g. by altering PYTHONPATH if necessary).
Btw it looks like the generated HTML is under version control, not sure if that needs to be removed.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/314
8 years, 9 months