diff options
author | Andreas Jaeger <aj@suse.com> | 2017-02-01 21:18:24 +0100 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2017-02-02 12:10:40 +0000 |
commit | 515afe532383f1163dc3e145e33d9dae0cffd21f (patch) | |
tree | d2b5b7422ce4dd9a7ad1f152c1bba56762a7ac2f /CONTRIBUTING.rst | |
parent | 61ccfc5befdff286813b4ca06a573696a7d95e83 (diff) | |
download | trove-515afe532383f1163dc3e145e33d9dae0cffd21f.tar.gz |
Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
Update CONTRIBUTING for this.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Change-Id: I3463e75057d0d4544f6a0212da888759ab5e171b
Needed-By: I92e6e6502c2c516babf2bf66f3514875f77c460e
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r-- | CONTRIBUTING.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 6bf4276d..9242f34a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -319,3 +319,7 @@ If you want to run only the tests in one file you can use testtools e.g. .. code-block:: bash $ python -m testtools.run trove.tests.unittests.python.module.path + +Note that some unit tests can use an existing database. The script +``tools/test-setup.sh`` sets up the database for CI jobs and can be +used for local setup. |