Correctly assert the number of calls to a mocked method.
Combine this with the change to pin the version of mock used for python
2.6 and raise the minimum version of mock used elsewhere.
Change-Id: I8cf1936f06f489561a59ec3cc75a1a8d6419a9ef
Update the hacking requirement to the version used by kilo, and fix code
that fails the new tests.
Change-Id: I6e18878e4ba826528af82438f4e4394cc644d623
if opt.help is i18n'ed then we land up in trouble since
Message objects do not support addition and a TypeError
gets thrown. So we just use a better way to construct
the string to avoid the TypeError.
Closes-Bug: #1408032
Change-Id: If1feb65c6467f1c8176369f49d128c172c569c66
In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.
Change-Id: I8f59083d1c0673b94fa94acb37f11a5dd0ee040d
Having the sphinx theme in the same namespace package
as the production code has been causing issues with
devstack installations. The solution settled on was
to rename oslo.sphinx to oslosphinx because oslo.sphinx
is not a "production" library.
See the linked bug report for more background details.
Closes-Bug: #1277168
Change-Id: I419fe50d66fa0c1ac48deca2286ae7c4b922d72d
This changes ConfigParser._parse_file such that it no longer interprets
all IOErrors as 'No such file or directory', and instead allows these
errors to propagate normally. The current behavior with respect to
ConfigOpts does not change for IOErrors indicating 'No such file' or
'Permission denied'.
Also added a test to exercise the case where IOErrors are reraised. The
'No such file' case is already covered by existing tests.
Change-Id: I10e4e5965212737a19f4f17153143f62b5c0c83e
Closes-Bug: #1244674
This is the fabulous result of running the update.py script from
openstack/requirements with this repository as the target. It therefore
updates all dependencies, with nice version numbers that this repository
have to use to work. It also fixes case on some dependencies.
This update also brings a brand shiny new setup.py automatically handled
and generate by this same openstack/requirements repository.
Change-Id: I22ec396e5fa802c1617514aa6df3ed82f05271b0
It is no longer necessary to install testrepository from bzr,
so don't. That means we no longer need a separate py33
environment definition, or the special requirements file.
Do not use distribute in the test virtualenvs.
Change-Id: I1c0002d3992e25e7e0927eca85ccd5e4d57ee7d1
Use the new oslo.sphinx version of the OpenStack doc
theme instead of copying it into this repo.
blueprint oslo.sphinx
Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8