| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable support for SSL as well using code from glance. We
have some new options for configuring the SSL support.
test_app starts wsgi.Service with a test app, then creates
a url to make sure the http requests are actually served
properly
test_app_using_router adds wsgi.Router and Mapper() to the
mix along with using the wsgify annotation for serving
the http requests
Fixes LP# 979488 (partial)
Fixes LP# 869884 (partial)
DocImpact
Change-Id: Iae47b13b50e00c102c8c36f4a3e73b24fa4e6303
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a new global variable to control when exception format errors
are fatal.
Also, updates the Oslo test base class to enable fatal exception
format errors.
The motivation for this change is to give projects that use
openstack common a hook to enable exception format checking when
testing.
Change-Id: Id8f4a0946b1614c8e987976b79069532a2e8608f
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Per Vish's suggestion. this should be simplier,
cull redundant code, and otherwise cut the fat.
Change-Id: I9fa3effdc8e9e2f3f124690ecf77ee8bb7d4d39e
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Improve safety of dict args
in process()
Change-Id: I0eae36ca6566c1b60f0a01ebee57ae8a7530fcb1
|
| |/ /
|/| |
| | |
| | | |
Change-Id: Ibac9853fc72e2452fa5e2b3a493bd03523faabfb
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test write_git_changelog, generate_authors, get_cmdclass, and
parse_dependency_links. Also test private _run_shell_command
function.
Change-Id: I583d679afc1dc805c920b4beffc2f664833aabd0
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Fix a PEP8 error uncovered during the cinder import of the rootwrap
module. A bit weird oslo's own tests didn't catch it.
Change-Id: Ib107023dd6e4178dd51b358cf9374e7a8468d1bf
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Running tests from the directory of an expanded tarball is a reasonable
thing to do, so support it by checking for PKG-INFO file if the pkg_resources
version grab fails.
Fixes bug 1103473
Change-Id: I2bf1fc39b070d3a2cdf6a3abe5e816c81d2916a0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid triggering PEP8 errors when "oslo" is replaced by the project
name in oslo-rootwrap. Made necessary by "cinder", but tested
compatible with "ceilometer".
Change-Id: I9a1e25ec58e8b1e833c00f6cbb2083f967cbef76
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I049f4e4d3927d0bf792697d30250083c87ca0b73
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I55943cca1053de09a3fc004d40c940fb92322211
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Previously lockutils attempted to use __file__/../ as the lock path.
This causes packages to fail if the user running the code doesn't have
+w access to that dir. Remove the default so it will use mkdtemp
instead
* Fixes bug 1107950
Change-Id: Ie0cd6fac5403a53a768eb4a0ce7da602b3fef755
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes
E271 multiple spaces after keyword "return _run_shell_command("
Change-Id: Ic6b2c88a0b7cabd04341d073ef837a13c1bb7a29
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This updates the copyrights on install_venv_common.py to
include IBM.
Change-Id: I5da3d9f1f511f20b332dc206aba4bcd2011a4940
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch sets a TTL derived from the timeout parameter used
when invoking the RPC.
Needed for:
* Bug 1053614
Change-Id: Idaf9a2a972feac3f95f170c52632033b027b4414
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replaced "not ... is" to "is not"
Replaced "not ... in" to "not in"
Removed a redundant parenthesis
Change-Id: I9564ab1207ccdcb32d7c2bb9e8f29658b2232ff9
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a install_venv.py library that can be used by each
project's tools/install_venv.py script.
Currently all the projects have very similar install_venv
scripts in their respective tools directories that all
accomplish the same end result. This just breaks out the
common code and puts it in a class that can be imported
and used in each project's script.
Change-Id: I8346fc4201f35e5d0c475caef893ca71e7db8236
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The scheme of incrementing port numbers did not work so well for
parallel test runs.
Part of blueprint grizzly-testtools.
Change-Id: I100e79ae79e4409691145dc721139d1a86839199
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Using the BaseTestCase across the tests in the tree lets us put in log
fixtures and consistently handle mox and stubout.
Part of blueprint grizzly-testtools.
Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
testtools provides a skipTest method, so there's no need to pull in nose
directly into the tests.
Part of blueprint grizzly/testtools.
Change-Id: I97a9f09a27cad0433949a96fc18001ecf69c8ba2
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
BaseTestCase properly hooks stubout into fixtures. Just use that.
Part of blueprint grizzly-testtools.
Change-Id: I4bf6b92b9b16d051d8c6ecaf52cf70925848ed8c
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While we're in there, simplify its use of fixtures.
Part of blueprint grizzly-testtools.
Change-Id: I7ef05cc9c191aab1959a31770f905f34447e64ea
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On the path to testr migration, we need to replace the unittest base classes
with testtools.
Replace tearDown with addCleanup, addCleanup is more resilient than tearDown.
The fixtures library has excellent support for managing and cleaning
tempfiles. Use it.
Replace skip_ with testtools.skipTest
Part of blueprint grizzly-testtools.
Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
|
|\| | |
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now that nova is using fixtures, we have grown some that can be used across
projects. The mox/stubout fixture is a great example of this - and also can
be used in the oslo tests themselves.
Change-Id: Ia78019317a6772c5c66a875c948854248383f9ea
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When copying tools around it may not be clear that they came from
openstack-common. So add a note at top of code. Had to say from
openstack-common since cannot say from oslo-incubator since word oslo is
replaced when copied.
Change-Id: I7514c88d448f13cb7b11ed1ea81a035c6a201bae
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We currently use 'git describe --always' to figure out the number of
commits there have been leading up to the HEAD commit.
However, if there are no tags in the repo, git-describe just returns
the sha hash of HEAD and we fail.
In that case, use 'git rev-list HEAD | wc -l' so we can be #winning.
Change-Id: I345e0ee32189504276b3dfd3367057ce1d4a2b06
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Taken from glance xattr.py module. This function converts timestamp
formated dates into a UTC Iso 8601 date. It is being required in
multiple places now (mostly on clients printing dates) in order to make
dates human readable.
Change-Id: I6f19325a4c2df241a0ef76bd256280a2930d9265
|
|\ \ \ |
|