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

15 commits

Author SHA1 Message Date
Paul Thornthwaite
330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Dan Prince
020d992b57 Drop 'extras' from tenant test validations. 2013-01-28 13:09:39 -05:00
Dan Prince
65a90fd655 OpenStack: get identity tests passing in real mode
Updates to the OpenStack identity tests to they pass in both real
and mock modes.

Also, fixes an issue in the delete_user_role request where it
was expecting 200 instead of 204 (which seems to match the
spec and implementation).
2013-01-28 13:07:22 -05:00
Paul Thornthwaite
8ed3a056c7 [openstack|identity] Marks test as pending
Issue #1477 conceals a bug in the #formats helper that allowed this to
pass such that the response of #delete_user_role does not match the
declared schema.

Response when mocked is an empty String which does not match the
declared schema of a Hash.
2013-01-23 15:24:21 +00:00
Eric Hodel
b430ec6a20 Added mock for Fog::Identity#get_user_by_name
OpenStack does not support filtering by name as in the real method so
the mock returns all users regardless of the name query parameter.  See:

http://docs.openstack.org/api/openstack-identity-service/2.0/content/GET_listUsers_v2.0_users_Admin_API_Service_Developer_Operations-d1e1356.html
2012-12-06 14:58:23 -08:00
Nelvin Driz
c054fcb841 [openstack|identity] Update User Role Membership Mocks
Signed-off-by: Nelvin Driz <nelvindriz@live.com>
2012-12-06 14:42:25 +08:00
Eric Hodel
8c76badfba Add OpenStack EC2 credentials requests.
This wraps API discovered from python-keystoneclient that allows CRUD
for EC2 credentials for an OpenStack service.  Unfortunately I haven't
been able to find documentation for this API.
2012-12-05 14:27:10 -08:00
Alvin Garcia
a8f2aaf004 [openstack|identity] Update for failing mock test 2012-09-28 15:15:29 +08:00
Philip Mark M. Deazeta
609995ccbe [openstack] Fixed mocks for failing shindo tests
reverted back to double quoted string

Conflicts:
	lib/fog/openstack/identity.rb
	lib/fog/openstack/requests/compute/get_volume_details.rb
	lib/fog/openstack/requests/compute/list_security_groups.rb
	lib/fog/openstack/requests/identity/list_tenants.rb
	lib/fog/openstack/requests/image/create_image.rb
	lib/fog/openstack/requests/image/list_public_images.rb
	lib/fog/openstack/requests/image/list_public_images_detailed.rb
	lib/fog/openstack/requests/image/update_image.rb
	tests/openstack/requests/compute/volume_tests.rb
2012-09-28 15:07:38 +08:00
Bohuslav Kabrda
16354432a7 Deleting returns nothing, so do not expect role 2012-07-02 12:24:17 +02:00
Alvin Garcia
b122f0c85e [openstack|identity] Keystone Roles and Users 2012-04-30 10:34:59 +08:00
Alvin Garcia
c623858312 [openstack|identity] Keystone Roles 2012-04-30 10:34:59 +08:00
Nelvin Driz
42d2cb94ec [openstack|identity] Update Tenants (Complete CRUD) 2012-04-30 10:34:59 +08:00
Nelvin Driz
e1c5155a34 [openstack|identity] Update Tenants 2012-04-30 10:34:58 +08:00