nova/nova/tests/unit/compute/monitors
Mike Durnosvistov d9dca3b76d Make compute unit tests inherit from test.NoDBTestCase
This patch changes the `compute` tests-package(where it's possible)
to test.NoDBTestCase saving test case running time.

- nova.tests.unit.compute.test_compute.CheckConfigDriveTestCase
  before : Ran 3 tests in 1.891s
  after : Ran 3 tests in 0.100s

- nova.tests.unit.compute.test_flavors.ExtraSpecTestCase
  before : Ran 3 tests in 1.842s
  after : Ran 3 tests in 0.113s

- nova.tests.unit.compute.test_resources.TestVCPU
  before : Ran 6 tests in 1.897s
  after : Ran 6 tests in 0.116s

- nova.tests.unit.compute.test_resources.BaseTestCase
  before : Ran 9 tests in 1.990s
  after : Ran 9 tests in 0.149s

- nova.tests.unit.compute.test_rpcapi.ComputeRpcAPITestCase
  before : Ran 76 tests in 3.941s
  after : Ran 76 tests in 0.796s

- nova.tests.unit.compute.monitors.test_cpu_monitor.\
      ComputeDriverCPUMonitorTestCase
  before : Ran 2 tests in 3.883s
  after : Ran 2 tests in 0.287s

- nova.tests.unit.compute.monitors.test_monitors.\
      ResourceMonitorBaseTestCase
  before : Ran 2 tests in 4.028s
  after : Ran 2 tests in 0.254s

- nova.tests.unit.compute.monitors.test_monitors.\
      ResourceMonitorsTestCase
  before : Ran 5 tests in 8.937s
  after : Ran 5 tests in 0.402s

Change-Id: I5b71b6360061261daf28037b8f293844cc352c6f
2015-02-24 17:54:29 +02:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_cpu_monitor.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00
test_monitors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00