Switching from HTTPInternalServerError to HTTPServerError
as Pecan seems to be returning HTTPServerError instead.
For some reason the assertion only fails with specific
PYTHONHASHSEED's. As a result, I'm just making sure we
assert against the returned exception to correct the
issue for the moment.
Change-Id: Iad15fa17fc2c4d5c3642462df25e702aaff4801f
Partial-bug: #1348818
New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but nova unittests don't currently pass
with a random hash seed so set it to the python default seed.
This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.
Also see Ib54364877a251db48c54dfdc43c503281ea1f04a.
Change-Id: I68695d8bd01a5a2ea683c6da2e1ad248ec69c710
Closes-Bug: #1348818
Artifacts of the docbook build creates a target folder that will
cause the pep8 tox job to complain about the build artifacts
a bunch of failures.
Change-Id: I4cf22876504d6014ece74e58877ba8ced13f2260
Though it will take a bit more time, with this, running tox will upgrade
the packages to a later version if needed.
Change-Id: Iaf287d67e75189dc44760c477d880228a7d16c23
assertEquals() logs a DeprecationWarning in Python 3.x,
use assertEqual() instead. The same goes for assertNotEquals().
Change-Id: Id7e6aac040a63870929cdf3267e2fc23382bf342
Alembic migrations were introduced to Barbican a while ago but have not been
used recently. This CR revisits the migration logic and ensures that time-zero
database tables creation is distinguished from Alembic-base schema updates.
The associated database migration script is also revived, allowing for
schema migrations outside of the Barbican boot process.
Change-Id: I3e7fd7ac3f629da18329c22ad11cb9ccc1b7f9f9
Implements: blueprint db-revive-migrations
OpenStack uses pbr for setuptools/build and version releases. As
barbican looks towards incubation, migrate to being pbr based.
Change-Id: I3c7a389596ca579a5613ea98b21cdc6967e49cc7