[glesys|compute] fixed tests due to changes in the api
This commit is contained in:
parent
2bf79e8dae
commit
0d926a1a47
|
@ -7,7 +7,9 @@ class Glesys
|
||||||
'arguments' => [],
|
'arguments' => [],
|
||||||
'servers' => [{
|
'servers' => [{
|
||||||
'serverid' => String,
|
'serverid' => String,
|
||||||
'hostname' => String
|
'hostname' => String,
|
||||||
|
'datacenter' => String,
|
||||||
|
'platform' => String,
|
||||||
}],
|
}],
|
||||||
'status' => {
|
'status' => {
|
||||||
'code' => String,
|
'code' => String,
|
||||||
|
@ -144,6 +146,7 @@ class Glesys
|
||||||
'platform' => String,
|
'platform' => String,
|
||||||
'ip' => String,
|
'ip' => String,
|
||||||
'version' => String,
|
'version' => String,
|
||||||
|
'PTR' => String,
|
||||||
}],
|
}],
|
||||||
'status' => {
|
'status' => {
|
||||||
'code' => String,
|
'code' => String,
|
||||||
|
@ -172,7 +175,6 @@ class Glesys
|
||||||
IPLIST_CATCH_RELEASE = {
|
IPLIST_CATCH_RELEASE = {
|
||||||
'arguments' => {
|
'arguments' => {
|
||||||
'ipaddress' => String,
|
'ipaddress' => String,
|
||||||
'ipversion'=> String,
|
|
||||||
},
|
},
|
||||||
'status' => {
|
'status' => {
|
||||||
'code' => String,
|
'code' => String,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Shindo.tests('Fog::Compute[:glesys] | server requests', ['glesys']) do
|
Shindo.tests('Fog::Compute[:glesys] | server requests', ['glesys']) do
|
||||||
|
|
||||||
@serverid = nil
|
@serverid = nil
|
||||||
@hostname = "fog.#{Time.now.to_i}"
|
@hostname = "fog-#{Time.now.to_i}"
|
||||||
|
|
||||||
@create = ":hostname => #@hostname, :rootpw => 'pw#{Time.now.to_i}', "+
|
@create = ":hostname => #@hostname, :rootpw => 'pw#{Time.now.to_i}', "+
|
||||||
":datacenter => 'Falkenberg', :platform => 'Xen', :template => 'Debian-6 x64', "+
|
":datacenter => 'Falkenberg', :platform => 'Xen', :template => 'Debian-6 x64', "+
|
||||||
|
|
Loading…
Reference in New Issue