1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Dan Prince
a5c35dfa56 OpenStack: Drop unused server_format hash.
Updates the compute server request tests to drop an unused
hash.
2012-12-07 22:03:52 -05:00
Dan Prince
5cad89ddb6 Merge pull request #1355 from drbrain/openstack_mock_server_user_id
Improve OpenStack server creation mocks
2012-12-07 18:32:13 -08:00
Dan Prince
a1f13bb04f OpenStack server test updates for real mode.
Updates to the OpenStack server tests to get things running in *real*
test mode.

This patch also adds some useful helper functions which
are now used to:
 -get the flavor ref for testing
 -get the image ref for testing
 -get the resize flavor ref for testing (defaults to flavor + 1)
 -disable password testing (not all hypervisors support this in OS)
2012-12-07 16:45:01 -05:00
Eric Hodel
398f706e7e OpenStack create_server mocks now match reality
Previously the mocks would return the same data as list_servers_detail.
OpenStack does not return all of this data so you must reload a server
after creation to get the necessary data when using fog for real.

Now the mock returns the same detail as the real call with the extra
detail stored in the mock data for retrieval by list_servers_detail.
2012-12-06 14:30:30 -08:00
Eric Hodel
d8074357c6 Tested handling of Openstack server created and updated times 2012-10-22 17:58:40 -07:00
Bohuslav Kabrda
7504ecf31c More typos in openstack server tests. 2012-07-02 10:08:23 +02:00
Dan Prince
d3f8245fef Additions and updates to the OpenStack API tests. 2011-09-29 14:10:21 -04:00
Dan Prince
41f09986f4 Implement fog support for the Openstack Compute API v1.1. Includes
support for legacy v1.0 style auth and v2.0 keystone auth.
2011-09-26 02:51:45 -04:00