Replace loremipsum with faker, drop discover as unneeded and ensure any
remaining requirements match the minimum requirements.
Change-Id: Ia5c5b033173c09e899e52b23f548ff822af998f0
Add simple regression test to ensure that setting sequence.editor will
not cause a hang, and add a timeout to interactive mode tests to ensure
they are terminated with an error should they fail to complete
reasonably quickly (suggesting a hang).
Early release 0.9.0 had an issue where setting sequence.editor would
cause git-upstream to hang, due to git-rebase attempting to launch the
editor specified, while the console was being redirected by python's
subprocess.
At some point a behaviour change meant the config setting
sequence.editor was no longer used by the python subprocess calling
git-rebase. Instead the tool would launch the user specified editor
directly (checking the git config settings for sequence.editor, then
core.editor, and falling back to the environment variable EDITOR if
neither were set), and would instead ensure that when finally calling
git-rebase it would only use the special editor provided by
git-upstream.
However it's still important to check that setting sequence.editor
does not cause any future problems such the code be refactored again.
Change-Id: I303dced0d1a52791d18b39e8e6d342374e3d2eeb
Related-Bug: #1394553
Change side bar toc to a full toc to show both global and local toc
simultaneously.
Change-Id: Ied595bab97bccb8cd942c2a0b35a429d7ee88bfb
Depends-On: I8dced20b036c267799b609a6fa719f6afde89a10
Remove unused requirement sphinxcontrib-programoutput, as it has been
removed from pypi[1]. This causes the tox run to fail for developers
and automated CI trying to run the tests.
As this is not currently in use by the documentation, remove the
requirement. In the future it would be better to use
sphinxcontrib-autorun.
[1] https://pypi.python.org/pypi/sphinxcontrib-programoutput
Change-Id: I664ddd6f6de4a9767af5dca5b6a94817b2620f00
Old pbr (<1.0.0) doesn't recognise end-of-line comments:
GitPython>=1.0.1 # BSD License (3 clause)
This results in requirements being passed to setuptools by pbr
containing the comment when running the following command:
python setup.py install
Subsequently setuptools tries to parse the full string instead of just
the package and version bounds spec.
While version >=1.0.0 would be sufficient, openstack requirements CI
job requires that we align with the approved requirements bounds of
>=1.6 instead.
Additionally to avoid conflicts need to move to a more recent release
of 'hacking', releases before 0.10 prevent use of pbr>1.0.
Change-Id: I096c7a0ae7ae326c2dfd2930c4dd05b52bf84f51
Ensure the coverage package is installed and fix the coverage command
line used from tox to cover the correct package name for the test
environment while excluding the unit tests.
Change-Id: Ieaca81e65ed2dbf7e7070be18a416f1858b48bb4
Use testscenarios where possible due to the way parameters within each
scenario can be accessed directly on the object for providing additional
feedback in the case of failed tests.
Moves each searcher test into a separate yaml file to be loaded as a
scenario which helps separate test info and actual code performing the
test.
Change-Id: Ie86561a8a1b80dc66bfc4bd43bda3ba46b0a5a4a
Some simple tests to ensure the basic command line behaviour of the
import sub-command is correct and also fix the failure to detect the
dropped additional branch on next import.
Change rebaseeditor script to ensure that exceptions from running
git-var are ignored.
Change-Id: I23f7e0798130335cac5882f4357eb8094f72f7af