History | View | Annotate | Download (18.6 kB)
Fix one API test failing with PostgreSQL backend
One API test (test_servers_details) was too restrictive and failedwith the PostgreSQL backend. It assumed consistent, by-id orderingbetween DB and API server list replies, and failed although there was1-1 correspondence between the two replies....
Add a check for the return code
Add a Date header in responses
Make use of it in tests.
Check for values inside servers
Port tests to the new API
manage.py test api should work now
Restructure authentication mechanism.
Move authentication mechanism to the correct place, implement a dummydecorator, some test data etc
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