The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases
Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.
Change-Id: Ie81c19e6065633a4738dfe91ca07de3ae3745dc3
Closes-Bug: #1218185
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I74109c2fcecad3812115b47316882f2053f90900
* Implemented Response Model (JSON only)
* Implemented Client - Supports single API call
* Implemented Config - Specific extensions required for test execution
* Added section and options to reference.json.config template
* Metatests for validating model logic
Change-Id: I90b87d6092bbbcc928901fac71c9690ef26535a4
- Adding a couple of HTTPResponseCodes to compute constants
- Adding the compute IP Associations request and response models and metatests
- Adding the compute IP Associations constants, client and composite
Change-Id: I43dbbf16192c31f9b95860ed5dddfd578c1a0006
* Moved snapshot create status wait into seperate function
* Updated relevant unittests
* Spelling corrections
Change-Id: I775c30280179b1ecf68a48f70355124f8ec51bf3
- Adding JSON response model
- Adding response model meta test
- Adding API client and behavior GET method
- Adding config and constants file
- Adding composite
Change-Id: Ic0adefc67c1ceac1bb03bc4ec784e111ea4cdfc2
* Move events folder to the appropriate hierarchy (compute in this case)
* Update import references in the code
Change-Id: I4b2263684158a853162a603cfb6eb6c725c8f1a5
* Added config path for that feature
* Added model for deserializing of data
* Added behavior for managing the call and deserialization called from the tests
* Added unittest
* Renamed unittest
Change-Id: I47c6c674c369302ccd0ef6ef0a5ce75eb2ae4f42
* Add events package
* Create base models for events
* Create submodels for compute events
* Create metatests for new models
Change-Id: I3ed997631741cea4ec0bad8ba19fa30781bf9fd2
- Adding security groups request and response json models
- Adding security groups api client
- Adding security groups models metatests
- Updating test_network and test_port metatest considering a kwargs previous update
- Adding the security groups composite
- Adding the security groups config file
Change-Id: Icb1a249ebb7c992c0595e4274defb8e3c46cd4e7
* Behaviors for LoadBalancers
* commonly used methods
* includes metatests for de/serialization of json/xml
Change-Id: Ica474d1bfade2efae85779ebbb5676487bfa8c10
* includes initial BaseLoadBalancersBehaviors class
* commonly used methods for creating, updating and waiting
* contains metatests for de/serialzation in json/xml
Change-Id: Ic4a0704013cb8028958b7a7e3d5ffd6d6b407564
* refactored directories for better design
* create class type directories where each will have:
* client
* behaviors
* response (model)
* request (model)
* added behavior file stubs with copyright only
Change-Id: I296005dff9ec73fdffd23f65c8ee94669a7e9175