| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The new class FakeFlavor has been introduced to fake one or more flavors.
So use it and remove the old fake flavor data.
Change-Id: Ie3a33b36ae6e597c6a0b1d17ad13c73cf4b73bc9
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ib82f845258b1ad78cbc8b23d28fa42e7ccc8097a
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: Iac9b4583befaa4eb79ec59c39b97c613884ef2f7
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ifbd360db39d380efd9632300367b13283ac75f54
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I335298b07afb3f969c76748527dda06cb5393fa8
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I3595877bed41bc476934ca924f1f9c8c0ad79176
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I1b20e7d50e478ce8114ca08aa455b7acad4ea7f5
Implements: blueprint improve-flavor-unit-test
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
While multi volumes specified for the osc "openstack volume delete",
only the last volume is deleted.
This patch tries to fix it.
Change-Id: I171b2869f85b29c88fda16eaf5bf163c55795df0
Closes-Bug: #1520541
|
| | |
| |
| |
| |
| |
| |
| | |
Just like FakeServer and FakeResource, FakeFlavorResource should be in compute_fakes.py.
Change-Id: I8315256fb90377605fa2190e24c9674f6aaf6efd
Implements: blueprint improve-flavor-unit-test
|
| | |
| |
| |
| |
| |
| |
| |
| | |
datalist has been set in each test case in TestFlavorList, which is not
necessary. This patch abstract it out and remove all redundant code.
Change-Id: I6f735f7d9fa29a8ab435adaef17ca559df1fdcee
Implements: blueprint improve-flavor-unit-test
|
| |/
|
|
|
|
|
|
| |
The columns has been set in each test case of TestFlavorList, which is not
necessary. This patch abstract it out and remove all redundant code.
Change-Id: Ideb2872f073755ac251bd603fd906410ea86c4ef
Implements: blueprint improve-flavor-unit-tes
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Idfa82f7f3aee3824aedf8b551be7942659530457
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I19060419a17b8e081e8f51c08959f24b84e7e570
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I8961e72b6901a52612cf62f52c02b6c2ff3dcd94
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: Idfdd98fd27d97e1216abe9b14d3dea7c8f2a5a68
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I4fbf115f925a6ffdeaec3d856d22224fa7730729
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: I0396fc4836ee918298bbe3860b7c1f42d3b97e33
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ia74d9875b8aa413b84d0077d22adb75b866a5701
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The test cases for server.xxx() are all the same, with one or more faked servers.
So use a helper function to reduce code duplicate.
Change-Id: I660c7731e2de8bf4d815b414a621d8d9ca6d5a8b
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| | |
This patch adds a multiple servers test case to class TestServerDelete.
Change-Id: I8b0c37ec2a8e7b23889e25c9004f867f2907f630
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Use setup_servers_mock() in class TestServerDelete to coordinate
the test class format.
Change-Id: I1901d6b781d97820667984241f4d68764d045854
Implements: blueprint osc-unit-test-framework-improvement
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This function will be used in almost every test case.
So move it to the base class to avoid define it each
time a test case is added.
Change-Id: I060b54f0935b42a85042ad217d851fea649ec8d9
Implements: blueprint osc-unit-test-framework-improvement
|
| | |
| |
| |
| | |
Change-Id: Ic54fbb9160adefe3d025d537125e125128f75ee6
|
| |/
|
|
| |
Change-Id: I236b4f53ee23cc97900e6244ab709404cc44a4ca
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
FakeServer should not be in tests.fakes since this should
be just for generic re-usable classes.
Change-Id: I19209952de69626dfa3caadc5d1cc69b7feadeba
|
| |/
|
|
|
|
|
|
|
| |
Per comment in [1], refactor the security group class names to
be in alphabetical order.
[1] https://review.openstack.org/#/c/249223
Change-Id: If28a153cdab57c0659ff5c78b276766d4043467f
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
The doc of parameter manager is missing.
Change-Id: I4e99c06ab713532d73615670ada0a61462285d76
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The old fake server framework has be replaced with the new
class FakeServer, which is stronger in:
1. faking multiple servers with random names and ids
2. faking methods in a server
3. easier to use
So remove the old fake server data, and use class FakeServer
from now on.
Change-Id: Ife8ee37a7ce14d9a3201104bce8075a918a97613
Implements: blueprint osc-unit-test-framework-improvement
|