Restrict pep8 & co to pep8 target

Change-Id: Ia3d17e76c94f9f324998bced21b9f5ace55c3f2d
Imported Translations from Transifex

Change-Id: I25c153c7541be2eb2038b46d46e05b5d26dc16bc
Set the default pipline config file for tests

Some of the tests that use a pipeline as a side-effect
(mostly the API tests, now that we create a pipline
automatically in the Pecan hook) only ran if there was
a config file in the production location. This change
resets the default for the pipeline_cfg_file option
to a location that is valid while the tests are running,
even if there is no configuration file in /etc/ceilometer.

Change-Id: I1164df85fd65002660d48d8d76cbfc4a3664f0ea
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Restore test dependency on Ming

Add Ming to the dependency list so we get MIM for in-memory
testing with the storage API.

Fixes bug 1176017

Change-Id: Ib1d87cab4b7616af354c4b0f937eb734b9dc9d1a
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Get all tests to use tests.base.TestCase

part of bug 1177924

Change-Id: If8124e2ca21bf9766adf770e30a630437c6fcd95
Merge "Set the default pipline config file for tests"
Merge "Imported Translations from Transifex"
Merge "Restore test dependency on Ming"
Merge "Restrict pep8 & co to pep8 target"
Imported Translations from Transifex

Change-Id: I467a44fef50331ca42b536dd7e5982e0cf44301e
remove unused tests/skip module

part of bug 1177924
Change-Id: I9760d81b1bb52a3847cd2c6cc595dad29042a701
Change from unittest to testtools

part of bug 1177924

Change-Id: I99be2c48dc7143015883b89130083c8ea11abeec
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Restore default interval

As we switched to multi-publisher pipelining, we modified,
I believe by mistake, the default polling interval from 600
to 60 second.

Change-Id: I4192a52aab1cbb744cd7ddf212e5ed3b0a3a27e6
Fixes: bug #1181153
Merge "Imported Translations from Transifex"
Allow suppression of v1 API.

Fixes bug 1180567

The v1 API is on the deprecation path, so should not require
that distros have all its dependencies available.

Thus we add a new configuration option to allow the v1 app
creation to be suppressed.

Change-Id: Ib5af241a57f54754be534c9acb92a377362571e3
Merge "Change from unittest to testtools"
fix compute units in measurement doc

related to bug#1165123 and patch (https://review.openstack.org/#/c/26462)

memory: B to MB
disk.root.size: B to GB
disk.ephemeral.size: B to GB

Change-Id: I59599c2cb7df02acc0d4349a8591a2c1bda4f9ec
Merge "Restore default interval"
Use fixtures in the tests

TempDir() makes sure all files created under it are deleted
at the end of the tests.
FakeLogger() hides logs when the test passes and displays logs
for failed tests.

part of bug 1177924
Change-Id: I07acb66daa1932d7864a5431f1b64570b747ce5a
Replace nose with testr

- add .testr.conf (in base dir and nova_tests)
- remove all references to nose
- adjust paths: A couple of tests would assume the current directory
  was ./tests/ but it is now ./
- don't run the tests in parallel as the db tests have one connection
  per test class.

nova_tests hackery:
It seems testtools/testr imports everything and I just don't see a way of
running things in tests/ and nova_tests/ seperately but in one .test.conf.
So if you want to use testr directly you will need to:
 testr run
 cd nova_tests
 testr run

part of bug 1177924
Change-Id: I41875dcf94463fa5f9c07a7840c37089226c59ad