diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-12-11 11:56:36 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-12-12 12:54:53 -0800 |
| commit | 8598ed72d37b4e45cb8b17698e3156f38e23558d (patch) | |
| tree | 590c9983010ccb1d29f0b7260f9680696eec7b32 /bin/stack | |
| parent | a6051acc332333030271f2e696dae234bfccabaf (diff) | |
| download | nova-8598ed72d37b4e45cb8b17698e3156f38e23558d.tar.gz nova-8598ed72d37b4e45cb8b17698e3156f38e23558d.tar.xz nova-8598ed72d37b4e45cb8b17698e3156f38e23558d.zip | |
Add VirtAPI tests
So far, VirtAPI has only been tested indirectly through the
other tests and modules that use it.
This adds a dedicated set of tests for the VirtAPI abstract class,
the virt/fake.py::FakeVirtAPI implementation, as well as the one
in compute/manager.py::ComputeVirtAPI. This test helps to ensure
that they all have the same method signatures and exhibit the
general behavior we expect. At the very least, this should help
them from getting out of sync in terms of their API. It also ensures
that methods can't be added to VirtAPI without a corresponding test.
Note the slight change in the FakeVirtAPI class to fix passing the
keyword arguments explicitly, which makes Mock happy.
Related (vaguely) to blueprint no-db-compute
Change-Id: Ib44379e17fae4df506b0108e20eb66b19195b1ca
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
