History | View | Annotate | Download (21.1 kB)
Merge branch 'master' into logic-refactoring
Conflicts: api/handlers.py api/tests.py
pep8 compliance
Fixed some issues in api/tests.py
Be consistent about the use of simplejson
simplejson was merged into Python 2.6's stdlib as json. To help withthat and avoid external dependencies, Django provides a utils.simplejsonmodule that either imports Python's json module or imports an embedded...
add testServerPolling test
check if the polling works as expected
remove description fields for VM, Image
Ref #185
Initial commit for API 1.1 REDUX.
- Implemented servers section of the API- Some new tests
Work in progress.
Refs #301
changes related to Openstack naming
add virtual machine group tests
added 4 tests regarding VirtualMachineGroups: * testVMgroupList, that tests if the expected list of groups is returned by the API * testVMgroupDetails, that tests if the expected virtual machine group is returned by the API...
changes on update name (and metadata, in future)
minor test optimization
improve exception handling on api/handlers
add missing try except blocks on FlavorHandler, ImageHandler, ServerHandler
update tests
use variables on api tests.py
use variables instead of strings, for server/image/flavor ids
add more unit tests
For example:
improve API compliance of the create instance handler
add unit tests regarding the RS API
added 6 working tests and stubs for 12 more. Two examples:
initial create server tests, still some way to go
add api test fixtures and test if the API returns the expected number of servers
initial api tests