« Previous | Next » 

Revision 4cf8adf8

ID4cf8adf895cf2513502a9b8731ddf91b09defe4e

Added by Vangelis Koukis about 13 years ago

Change console req/response format, add unit tests

Change the format of JSON requests and replies for getting
a server console over VNC. Fix the cloud command-line tool to
understand the new format.

Add unit tests for api/actions.py:get_console().

Add a quick-n-dirty method of detecting if we're running unit
tests in settings.py.dist and set TEST accordingly. If TEST is
used, the API implementation sets dry_run when creating servers
in the backend and assumes mock replies from it.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences