1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[terremark|ecloud] fix tests to skip when lacking credentials

This commit is contained in:
geemus 2011-01-21 17:43:27 -08:00
parent a13fd68e39
commit 12cffca4e4
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
Shindo.tests('TerremarkEcloud::Compute | catalog requests', ['terremark_ecloud']) do
Shindo.tests('TerremarkEcloud::Compute | catalog requests', ['terremarkecloud']) do
@catalog_format = {
'name' => String,

View file

@ -1,4 +1,4 @@
Shindo.tests('TerremarkEcloud::Compute | network requests', ['terremark_ecloud']) do
Shindo.tests('TerremarkEcloud::Compute | network requests', ['terremarkecloud']) do
@network_format = {
'Configuration' => {

View file

@ -1,4 +1,4 @@
Shindo.tests('TerremarkEcloud::Compute | organization requests', ['terremark_ecloud']) do
Shindo.tests('TerremarkEcloud::Compute | organization requests', ['terremarkecloud']) do
@organization_format = {
'name' => String,

View file

@ -1,4 +1,4 @@
Shindo.tests('TerremarkEcloud::Compute | vdc requests', ['terremark_ecloud']) do
Shindo.tests('TerremarkEcloud::Compute | vdc requests', ['terremarkecloud']) do
@vdc_format = {
'AvailableNetworks' => [{

View file

@ -9,7 +9,7 @@ def lorem_file
end
# check to see which credentials are available and add others to the skipped tags list
all_providers = ['aws', 'bluebox', 'brightbox', 'gogrid', 'google', 'linode', 'local', 'newservers', 'rackspace', 'slicehost', 'zerigo']
all_providers = ['aws', 'bluebox', 'brightbox', 'gogrid', 'google', 'linode', 'local', 'newservers', 'rackspace', 'slicehost', 'terremarkecloud', 'zerigo']
available_providers = Fog.providers.map {|provider| provider.to_s.downcase}
for provider in (all_providers - available_providers)
Formatador.display_line("[yellow]Skipping tests for [bold]#{provider}[/] [yellow]due to lacking credentials (add some to '~/.fog' to run them)[/]")