Updates run_tests.sh so it uses the same pep8 ignore options
we do for tox. This fixes a slew of pep8 errors that will occur
with recent pep8 releases using Glance.
Change-Id: I0a9bb237f75eb307ee433cc6b1c5f78cd71dd02e
Its not always wanted to run pep8 so we should have
a flag that can be used to disable it so that people
who do not want to run it can accomplish this.
Fixes: bug 1080907
Change-Id: I7f9dedbc7eca8421e0acf58e478c105f8b8de0c9
This updates the pep8 checks in our run_tests.sh script
so that we are scanning the bin directory.
Change-Id: I0ad51b7747edbcb0dbcfb72f92a43dd8f2efc768
Add of noseopts to the run_tests script so users can be
able to run tests adding extra options to be passed to
nosetests.
This option is currently in keystone but not in glance.
Fixes bug 1065758
Change-Id: I7c78749adb90b126da5bd9580da6bfd7c9e1bf54
We exclude openstack-common in tox.ini already. This change updates
run_tests.sh to match that behaviour.
Change-Id: I1bf5784193e63156bc5fe140ad6e403669c7909d
The pep8 runner in run_tests.sh was still referencing run_tests.py
which no longer exists. Replaced that section with one that runs
pep8 the same way as tox.
Additionally, the first attempt at getting the test runner to do the
same thing with debug logging as run_tests.sh was doing became a bit
spammy. For now, actually have logging write out the log file in the
first place. Eventually, it would be nice to get this to properly
get spit out in such a way that nosetests would grab it and include
it in the failed test case output.
Change-Id: Ib5222a0c3507d5d7ede4d303c98323a622705301
The test suite can be run now with pure nosetests + the openstack nose
plugin. There is no longer any need for the run_tests.py.
Change-Id: Iad89a2c1cc567ba10919a52166b3309edef20009
A convenience for generating coverage metrics. Might make it
more likely that developers will review the coverage stats more
often, to identify pre-existing blackspots and avoid proposing
under-tested new code.
Change-Id: Iecd10ec529dd6e93d18a6763bf36667402640881
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.
Change-Id: I7916783d863e5184bad8293c3aed5ba119e374a9
Removed builddeb.sh - we don't use it.
Removed a reference to pep8 skipping vcsversion due to bzr bug.
Updated sqlalchemy in the pip-requires to allow/use 0.7.1 or later to match
Nova installs.
Change-Id: I2da2b39efd0b1b192a490509a44cb1f641b86092
Fixed issue where ./run_tests.sh would not execute pep8. Fixed couple of pep8 violations in test_skip_examples.py
Change-Id: Id6eaa8768b663b4638fbca0e3bdf72b74969150a
* Adds unit test for Parallax API controller
* Adds stubouts for glance.parallax.db.sqlalchemy.api calls
regarding images
* Adds --logging-clear-handlers arg to nosetests in run_tests.sh to
prevent extra output in running tests when tests complete successfully