Translations .mo files created with compile_catalog should
be included in the build if they exist.
Additionally, .pot files have been removed from source git in
https://review.openstack.org/307589 so they can be ignored in
MANIFEST.in.
Closes-Bug: 1583611
Change-Id: Ia0c87360d34936d432eceb22210f03f8592c6fec
keystone/tests/tmp is missing in the sdist tarballs, so
we need to not only create keystone/tests/tmp/<pid> but also the
parent directory. Use os.makedirs for that.
Change-Id: I2f97bee517297b9fa239183c23ad1dfa52505bc9
Closes-Bug: #1296862
Similar to a range of other components (e.g. glance,nova,...) and recent
reviews by Monty.
Running individual tests can be done like this:
./run_tests.sh keystone.tests.test_drivers
Change-Id: I2482a48322150e5eb09b703326a94d8283f1c75b
Add a new folder tests/tmp and move all temporary test artefacts like
sqlite dbs into the folder. This has a number of advantages:
- clean up .gitignore and tests folder.
- common/sql/util.py files didn't really belong in common as they were
test only.
- by doing ``sudo mount -t tmpfs -o size=16M tmpfs tests/tmp; sudo chown
$USER: tests/tmp`` tests speed up about 3x (ext4; credit ayoung's blog).
Change-Id: I9b02a5273dd27db963e9a26085b7456f4c5f6a41