| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
Remove the 'deps = pep8==1.3.3' and 'deps = pyflakes' from tox.ini as
it means all the other deps get installed with easy_install which can't
install oslo-config from the URL.
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use 'nosetests --with-doctests' to run any doctests found. We currently
only use doctests in a handful of places, but we may as well run them
to ensure they work.
Make the cfg doctests avoid using the global CONF since we would need
to reset its state between each doctest.
Fix the cliutils doctests to actually pass.
Use 'nosetests --exclude-dir=tests/testmods' to avoid loading the
modules from this dir while discovering doctests. The cfg unit tests
rely on these modules not having been previously loaded.
Change-Id: I19ad70767fa5c8352b994dc963b5d3a7c9d9eb95
|
|
|
|
|
|
| |
Caesar's wife must be above reproach.
Change-Id: Iac85a57e71d403360f1567c07c8699057f0772fb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added both a tox test-env for pyflakes and fixed the current pyflakes errors.
This did actually fix a couple of bugs.
The CI team has started using pyflakes on its projects and also has started
using oslo for things, so ignoring pyflakes warnings on the oslo code was
starting to get old. However, additionally, pyflakes is pretty solid, so we
should maybe consider gating on it across the board. (% locals() is the
biggest thing that we do that it doesn't like)
Change-Id: Iac1ca62db301892b7863711162fcbc74807eb24f
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes bug #1082002
With sitepackages=True, I'm seeing the tests fail on my machine because
the older system version of nose gets used.
Looking at other projects, this is only set in the tox:jenkins section
where one exists.
Change-Id: I1ab5f337adf8fc668608146ccb2ab3f2590204be
|
|
|
|
|
|
|
|
|
| |
Exclude the .update-env directory, including anything
installed there from third-party packages, when running
pep8.
Change-Id: I2c2ee9146cbf2f5449f7f8d042b578ec3d8d2b83
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
|
|
| |
Fixed indents which violate pep8 1.3.3
Also added .mailmap file to coalesce commits
Change-Id: Ia7a788a28e6c0fd9cb52fb7ea477cddd7d589e58
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ieebefee89483e5abbcefe1bb9059d89c91dc04df
|
|/
|
|
|
|
| |
also,this patch turns off pep8 E125 check.
Change-Id: I22d2a94d89530586d614af39af17ae542c5e0cbf
|
|
|
|
| |
Change-Id: I0f403cfa8edec3795f65cf270a9cb2ad0a05d4f5
|
|
|
|
|
|
| |
This enables support for testing qpid (not available in pip)
Change-Id: I36bc0398ed8e8377dfc8af10ae0981e117a3ec20
|
|
|
|
|
|
|
| |
The contents of tox.ini were out of date. Update them in preparation
for Jenkins check and gate tests.
Change-Id: I7b6e33b118e0bdab492560c8e36d50c5f7c2c10b
|
|
|
|
|
|
|
| |
I noticed that pep8 wasn't running on the tests. This patch fixes that,
as well as a couple of pep8 errors in test_cfg.
Change-Id: I4429bfe6813a2e9394efb1753cbebbadb9f23833
|
|
|
|
| |
Change-Id: Ib1f768c6783db0e63cb51dfc767ae5a31a295c76
|
|
|