mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Retagged tests with strings to be skipped by Shindo
This commit is contained in:
parent
2b54ebda25
commit
b8049a9805
34 changed files with 34 additions and 34 deletions
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Storage[:aws] | directory", [:aws]) do
|
||||
Shindo.tests("Storage[:aws] | directory", ["aws"]) do
|
||||
|
||||
directory_attributes = {
|
||||
:key => 'fogdirectorytests'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Storage[:aws] | file", [:aws]) do
|
||||
Shindo.tests("Storage[:aws] | file", ["aws"]) do
|
||||
|
||||
require 'tempfile'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Storage[:aws] | files", [:aws]) do
|
||||
Shindo.tests("Storage[:aws] | files", ["aws"]) do
|
||||
|
||||
file_attributes = {
|
||||
:key => 'fog_file_tests',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Storage[:aws] | version", [:aws]) do
|
||||
Shindo.tests("Storage[:aws] | version", ["aws"]) do
|
||||
|
||||
file_attributes = {
|
||||
:key => 'fog_file_tests',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Storage[:aws] | versions", [:aws]) do
|
||||
Shindo.tests("Storage[:aws] | versions", ["aws"]) do
|
||||
|
||||
file_attributes = {
|
||||
:key => 'fog_file_tests',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'fog/aws/requests/storage/acl_utils'
|
||||
|
||||
Shindo.tests('Fog::Storage::AWS | ACL utils', [:aws]) do
|
||||
Shindo.tests('Fog::Storage::AWS | ACL utils', ["aws"]) do
|
||||
tests(".hash_to_acl") do
|
||||
tests(".hash_to_acl({}) at xpath //AccessControlPolicy").returns("", "has an empty AccessControlPolicy") do
|
||||
xml = Fog::Storage::AWS.hash_to_acl({})
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:aws] | bucket requests', [:aws]) do
|
||||
Shindo.tests('Fog::Storage[:aws] | bucket requests', ["aws"]) do
|
||||
@aws_bucket_name = 'fogbuckettests-' + Time.now.to_i.to_s(32)
|
||||
|
||||
tests('success') do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:aws] | multipart upload requests', [:aws]) do
|
||||
Shindo.tests('Fog::Storage[:aws] | multipart upload requests', ["aws"]) do
|
||||
|
||||
@directory = Fog::Storage[:aws].directories.create(:key => 'fogmultipartuploadtests')
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ def delete_bucket
|
|||
Fog::Storage[:aws].delete_bucket(@aws_bucket_name)
|
||||
end
|
||||
|
||||
Shindo.tests('Fog::Storage[:aws] | versioning', [:aws]) do
|
||||
Shindo.tests('Fog::Storage[:aws] | versioning', ["aws"]) do
|
||||
tests('success') do
|
||||
tests("#put_bucket_versioning") do
|
||||
@aws_bucket_name = 'fogbuckettests-' + Fog::Mock.random_hex(16)
|
||||
|
|
|
@ -19,7 +19,7 @@ def volume_tests(connection, params, mocks_implemented = true)
|
|||
end
|
||||
end
|
||||
|
||||
Shindo.tests("Fog::Compute[:cloudstack] | volume", :cloudstack) do
|
||||
Shindo.tests("Fog::Compute[:cloudstack] | volume", "cloudstack") do
|
||||
|
||||
config = compute_providers[:cloudstack]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:google] | bucket requests', [:google]) do
|
||||
Shindo.tests('Fog::Storage[:google] | bucket requests', ["google"]) do
|
||||
|
||||
tests('success') do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:google] | object requests', [:google]) do
|
||||
Shindo.tests('Fog::Storage[:google] | object requests', ["google"]) do
|
||||
|
||||
@directory = Fog::Storage[:google].directories.create(:key => 'fogobjecttests')
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | address", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | address", ["hp"]) do
|
||||
|
||||
@base_image_id = ENV["BASE_IMAGE_ID"] || 1242
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | addresses", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | addresses", ["hp"]) do
|
||||
|
||||
collection_tests(Fog::Compute[:hp].addresses, {}, true)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | key_pair", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | key_pair", ["hp"]) do
|
||||
|
||||
model_tests(Fog::Compute[:hp].key_pairs, {:name => 'fogkeyname'}, true)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | key_pairs", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | key_pairs", ["hp"]) do
|
||||
|
||||
collection_tests(Fog::Compute[:hp].key_pairs, {:name => 'fogkeyname'}, true)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | security_group", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | security_group", ["hp"]) do
|
||||
|
||||
model_tests(Fog::Compute[:hp].security_groups, {:name => 'foggroupname', :description => 'foggroupdescription'}, true)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests("Fog::Compute[:hp] | security_groups", [:hp]) do
|
||||
Shindo.tests("Fog::Compute[:hp] | security_groups", ["hp"]) do
|
||||
|
||||
collection_tests(Fog::Compute[:hp].security_groups, {:name => 'foggroupname', :description => 'foggroupdescription'}, true)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::CDN[:hp] | container requests', [:hp]) do
|
||||
Shindo.tests('Fog::CDN[:hp] | container requests', ["hp"]) do
|
||||
|
||||
@cdn_containers_format = [{
|
||||
'x-cdn-ssl-uri' => String,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | address requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | address requests', ["hp"]) do
|
||||
|
||||
@floating_ips_format = {
|
||||
'instance_id' => Fog::Nullable::Integer,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | flavor requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | flavor requests', ["hp"]) do
|
||||
|
||||
@flavor_format = {
|
||||
'rxtx_quota' => Integer,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | image requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | image requests', ["hp"]) do
|
||||
|
||||
@image_format = {
|
||||
'id' => String,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | key pair requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | key pair requests', ["hp"]) do
|
||||
|
||||
tests('success') do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | security group requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | security group requests', ["hp"]) do
|
||||
|
||||
@security_group_rule_format = {
|
||||
'from_port' => Integer,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | security group requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | security group requests', ["hp"]) do
|
||||
|
||||
@security_groups_format = {
|
||||
'security_groups' => [{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | address requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | address requests', ["hp"]) do
|
||||
|
||||
@base_image_id = ENV["BASE_IMAGE_ID"] || 1242
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Compute[:hp] | server requests', [:hp]) do
|
||||
Shindo.tests('Fog::Compute[:hp] | server requests', ["hp"]) do
|
||||
|
||||
@server_format = {
|
||||
'addresses' => Fog::Nullable::Hash,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:hp] | container requests', [:hp]) do
|
||||
Shindo.tests('Fog::Storage[:hp] | container requests', ["hp"]) do
|
||||
|
||||
@container_format = [String]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:hp] | object requests', [:hp]) do
|
||||
Shindo.tests('Fog::Storage[:hp] | object requests', ["hp"]) do
|
||||
|
||||
@directory = Fog::Storage[:hp].directories.create(:key => 'fogobjecttests')
|
||||
@dir_name = @directory.identity
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Storage[:local] | file', [:local]) do
|
||||
Shindo.tests('Storage[:local] | file', ["local"]) do
|
||||
|
||||
pending if Fog.mocking?
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:rackspace] | account requests', [:rackspace]) do
|
||||
Shindo.tests('Fog::Storage[:rackspace] | account requests', ["rackspace"]) do
|
||||
|
||||
tests('success') do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:rackspace] | container requests', [:rackspace]) do
|
||||
Shindo.tests('Fog::Storage[:rackspace] | container requests', ["rackspace"]) do
|
||||
|
||||
@container_format = [String]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:rackspace] | large object requests', [:rackspace]) do
|
||||
Shindo.tests('Fog::Storage[:rackspace] | large object requests', ["rackspace"]) do
|
||||
|
||||
unless Fog.mocking?
|
||||
@directory = Fog::Storage[:rackspace].directories.create(:key => 'foglargeobjecttests')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Shindo.tests('Fog::Storage[:rackspace] | object requests', [:rackspace]) do
|
||||
Shindo.tests('Fog::Storage[:rackspace] | object requests', ["rackspace"]) do
|
||||
|
||||
unless Fog.mocking?
|
||||
@directory = Fog::Storage[:rackspace].directories.create(:key => 'fogobjecttests')
|
||||
|
|
Loading…
Add table
Reference in a new issue