The tests fail because self.data[:resources] is nil. Does the Fog mock framework provide a mechanism to populate the 'data' hash prior to executing the test?
geemus (Wesley Beary)
Apr 25, 2016, 10:06:53 AM4/25/16
Reply to author
Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
I haven't used the openstack side of things in particular much, but the general pattern in fog is to use the create methods to populate the mocks. So if you have mock on and create some resources, then call list_resources, they should be included. Hope that helps, but if not somebody with more specific knowledge around this may be able to chime in.