fog-openstack
fog-openstack copied to clipboard
Added mocks for Fog::Storage::OpenStack
- The class
Mock
was added in this module where needed - Added
fail "Mock Not Implemented (#method_name) in: #{__FILE__}:#{__LINE__}"
where mock was not implemented
Code is mostly coppied from Fog::Storage::Rackspace::Mock
.
@plribeiro3000 & @krzyczak & @timuralp : Where does this PR stands ?
@ShamoX As a first look it needs rebase.
considering behaviour we would need someone with access to openstack
to test it as i do not have it.
The mocking bits in the PR seem fine to me. Adding the additional auth parameters for keystone is probably also fine, but we don't include the tests for it here? Unfortunately, I don't think anyone is actively looking into this, though.