fog-openstack icon indicating copy to clipboard operation
fog-openstack copied to clipboard

Added mocks for Fog::Storage::OpenStack

Open krzyczak opened this issue 8 years ago • 3 comments

  1. The class Mock was added in this module where needed
  2. Added fail "Mock Not Implemented (#method_name) in: #{__FILE__}:#{__LINE__}" where mock was not implemented

Code is mostly coppied from Fog::Storage::Rackspace::Mock.

krzyczak avatar Jan 23 '17 10:01 krzyczak

@plribeiro3000 & @krzyczak & @timuralp : Where does this PR stands ?

ShamoX avatar Jan 20 '22 08:01 ShamoX

@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.

plribeiro3000 avatar Jan 20 '22 14:01 plribeiro3000

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.

timuralp avatar Jan 21 '22 18:01 timuralp