mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add the mock urls to fix some more openstack tests
This commit is contained in:
parent
22fd0e28f6
commit
7cedd76189
2 changed files with 8 additions and 8 deletions
|
@ -176,7 +176,7 @@ module Fog
|
|||
'minRam' => 0,
|
||||
'minDisk' => 0,
|
||||
'metadata' => {},
|
||||
'links' => []
|
||||
'links' => [{"href"=>"http://nova1:8774/v1.1/admin/images/1", "rel"=>"self"}, {"href"=>"http://nova1:8774/admin/images/2", "rel"=>"bookmark"}]
|
||||
}
|
||||
},
|
||||
:servers => {},
|
||||
|
|
|
@ -20,13 +20,13 @@ module Fog
|
|||
response.status = 200
|
||||
response.body = {
|
||||
'flavors' => [
|
||||
{ 'name' => '256 server', 'id' => '1', 'links' => [] },
|
||||
{ 'name' => '512 server', 'id' => '2', 'links' => [] },
|
||||
{ 'name' => '1GB server', 'id' => '3', 'links' => [] },
|
||||
{ 'name' => '2GB server', 'id' => '4', 'links' => [] },
|
||||
{ 'name' => '4GB server', 'id' => '5', 'links' => [] },
|
||||
{ 'name' => '8GB server', 'id' => '6', 'links' => [] },
|
||||
{ 'name' => '15.5GB server', 'id' => '7', 'links' => [] }
|
||||
{ 'name' => '256 server', 'id' => '1', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '512 server', 'id' => '2', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '1GB server', 'id' => '3', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '2GB server', 'id' => '4', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '4GB server', 'id' => '5', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '8GB server', 'id' => '6', 'links' => ['https://itdoesntmatterwhatshere.heh'] },
|
||||
{ 'name' => '15.5GB server', 'id' => '7', 'links' => ['https://itdoesntmatterwhatshere.heh'] }
|
||||
]
|
||||
}
|
||||
response
|
||||
|
|
Loading…
Add table
Reference in a new issue