mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[cloudstack] list_os_types, list_disk_offerings request tests, rm pending
This commit is contained in:
parent
ba6242f64d
commit
cb51eebd0c
2 changed files with 5 additions and 6 deletions
|
@ -4,14 +4,15 @@ Shindo.tests('Fog::Compute[:cloudstack] | disk offering requests', ['cloudstack'
|
||||||
'listdiskofferingsresponse' => {
|
'listdiskofferingsresponse' => {
|
||||||
'count' => Integer,
|
'count' => Integer,
|
||||||
'diskoffering' => [
|
'diskoffering' => [
|
||||||
'id' => Integer,
|
'id' => String,
|
||||||
'created' => String,
|
'created' => String,
|
||||||
'disksize' => Integer,
|
'disksize' => Integer,
|
||||||
'displaytext' => String,
|
'displaytext' => String,
|
||||||
'domain' => Fog::Nullable::String,
|
'domain' => Fog::Nullable::String,
|
||||||
'domainid' => Fog::Nullable::Integer,
|
'domainid' => Fog::Nullable::String,
|
||||||
'iscustomized' => Fog::Boolean,
|
'iscustomized' => Fog::Boolean,
|
||||||
'name' => String,
|
'name' => String,
|
||||||
|
'storagetype' => String,
|
||||||
'tags' => Fog::Nullable::String
|
'tags' => Fog::Nullable::String
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -20,7 +21,6 @@ Shindo.tests('Fog::Compute[:cloudstack] | disk offering requests', ['cloudstack'
|
||||||
tests('success') do
|
tests('success') do
|
||||||
|
|
||||||
tests('#list_disk_offerings').formats(@disk_offerings_format) do
|
tests('#list_disk_offerings').formats(@disk_offerings_format) do
|
||||||
pending if Fog.mocking?
|
|
||||||
Fog::Compute[:cloudstack].list_disk_offerings
|
Fog::Compute[:cloudstack].list_disk_offerings
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ Shindo.tests('Fog::Compute[:cloudstack] | os type requests', ['cloudstack']) do
|
||||||
'listostypesresponse' => {
|
'listostypesresponse' => {
|
||||||
'count' => Integer,
|
'count' => Integer,
|
||||||
'ostype' => [
|
'ostype' => [
|
||||||
'id' => Integer,
|
'id' => String,
|
||||||
'description' => String,
|
'description' => String,
|
||||||
'oscategoryid' => Integer
|
'oscategoryid' => String
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@ Shindo.tests('Fog::Compute[:cloudstack] | os type requests', ['cloudstack']) do
|
||||||
tests('success') do
|
tests('success') do
|
||||||
|
|
||||||
tests('#list_os_types').formats(@os_types_format) do
|
tests('#list_os_types').formats(@os_types_format) do
|
||||||
pending if Fog.mocking?
|
|
||||||
Fog::Compute[:cloudstack].list_os_types
|
Fog::Compute[:cloudstack].list_os_types
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue