Ignore nova/openstack/common code when calculating coverage.
We do this because the unit tests for the common code are in a
different repository.
Change-Id: I0103b8acfc4cdaace68a18b1d1723a13595debe2
* cleaner output
* fix bug 980009
* Fix N201
* N306: alphabetical order imports
* N401: docstring start
* N402: one line docstring start
* N403: multi line docstring end
* Until fixed, N40* will be disabled by default
Change-Id: I9addafdaa7a1f8fb950e14a5409f661dec6c7b87
Coverage report generation was not using --include filters.
This resulted in generating a report that included all external
dependencies. Some of these may include problematic characters for
utf8 decoding. In the odd case this was found, coverage would fail
with a UnicodeDecodeError.
Fixes bug #987077.
Change-Id: I276698e65ac1037972209a406058168433cd826b
Fixes bug 977489
--repeat became the default in 0.7; since we're now requiring 1.0 or
above, this can go away.
Change-Id: I85ee8ab274594ce96ece6610247dfd8a6f082af5
* Works around migrate issue 72 [1] by monkey patching migrate prior
to import.
* Removes previous workaround
* Refactor test config to work under nosetests directly
* Fixes LP940407
1: https://code.google.com/p/sqlalchemy-migrate/issues/detail?id=72
Change-Id: I219e4cecf8bb2e34ae238ac270428f496378ee61
Fixes bug #854905
Use sqlalchemy reflection whenever possible:
http://sqlalchemy-migrate.readthedocs.org/en/latest/versioning.html
Work around sqlalchemy-migrate sqlite 'bool column not deletable' issue:
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=143
Add following sql scripts for sqlite:
002_sqlite_downgrade.sql
015_sqlite_downgrade.sql
033_sqlite_downgrade.sql
050_sqlite_downgrade.sql
068_sqlite_downgrade.sql
Work around sqlalchemy-migrate sqlite 'table with foreign key column not
deletable' issue:
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=94
Add following sql scripts for sqlite:
003_sqlite_downgrade.sql
006_sqlite_downgrade.sql
007_sqlite_downgrade.sql
012_sqlite_upgrade.sql
013_sqlite_downgrade.sql
020_sqlite_downgrade.sql
030_sqlite_downgrade.sql
038_sqlite_downgrade.sql
042_sqlite_downgrade.sql
053_sqlite_downgrade.sql
067_sqlite_downgrade.sql
Work around sqlalchemy-migrate 'migrate drops engine reference' issue:
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=72
Add following sql scripts for long primary key to work with utf-8
mysql table:
072_mysql_upgrade.sql
Add following sql scripts for postgresql:
002_postgresql_downgrade.sql
Add snake walk test cases for database migration based on glance migration
test.
Change-Id: Ib454ecb4662bbf47736c1b12d9a4f969f180ceb6
Fixes bug #929369
Fix "api-paste.ini* to "*api-paste.ini*" and
remove duplicate definitions of srcfiles.
Change-Id: I859783457d6c5df3f6e998e752cad648ca109b9c
Removes copy of ajaxterm code, nova-ajax-console-proxy,
and support for get_ajax_console from Nova proper.
Implements blueprint remove-ajaxterm
Fixes bug 917963
Change-Id: I2c0ff427c53c0f63a18b10475d6b4cbe9a085d83
Tests so far:
N101 TODO format
N201 Except format
N301 One import per line
N302 import only modules
N303 Invalid Import
N304 Relative Import
Change-Id: I33c021b842e7199b1f5f1f699ea17f7fa5f8ca49
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: Ieaf1dac3207ecb34b911c7edcd2086809abdf49e
This commit begins to implement blueprint consolidate-testing-infrastructure by
adding a 'testing' subpackage and moving some modules into it.
Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
Since moving to bzr, we no longer generate ChangeLog and vcsversion.py
and since commit deb31cb55 we no longer even have the bzr specific code
for generating them. So, let's just remove any references to them.
Change-Id: I4f96b9be48e289f9129ae8e3ad4cbc1b22db07d2
Added a flag to run_tests.sh to allow user to optionally install venv with --no-site-packages.
This fixes bug 880905
Change-Id: Ic645e0ec56c90b72fef526ebc9f55975d446e2ae
Also, add an option to run_tests.sh to skip running pep8. We have a separate
job in Jenkins which runs pep8, so there's no need to spin our wheels on it
during the test run.
Change-Id: I552330994e55a36fa96b63658493ed30e2720c85
Add set -eu to run_tests.sh. This will cause it to fail whenever anything
goes wrong, which is exactly what we want in a test script.
To do this, I had to remove the use of the "let" keyword, which has a bizarre
exit status in bash.
I also removed the "|| exit" after run_tests, which means that this script
will now exit with status 1, not status 0, if run_tests fails.