From 3fbaeb38572896a47dbe826a505fe2abb6f1cb72 Mon Sep 17 00:00:00 2001 From: geemus Date: Thu, 22 Sep 2011 19:46:35 -0500 Subject: [PATCH] [tests] mark not implemented mocks as pending --- tests/brightbox/requests/compute/load_balancer_tests.rb | 1 + tests/compute/models/flavors_tests.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/brightbox/requests/compute/load_balancer_tests.rb b/tests/brightbox/requests/compute/load_balancer_tests.rb index 5c9f1997a..84b0668c6 100644 --- a/tests/brightbox/requests/compute/load_balancer_tests.rb +++ b/tests/brightbox/requests/compute/load_balancer_tests.rb @@ -34,6 +34,7 @@ Shindo.tests('Fog::Compute[:brightbox] | load balancer requests', ['brightbox']) end tests("#list_load_balancers()").formats(Brightbox::Compute::Formats::Collection::LOAD_BALANCERS) do + pending if Fog.mocking? Fog::Compute[:brightbox].list_load_balancers end diff --git a/tests/compute/models/flavors_tests.rb b/tests/compute/models/flavors_tests.rb index 48fcea7cc..a0a903c90 100644 --- a/tests/compute/models/flavors_tests.rb +++ b/tests/compute/models/flavors_tests.rb @@ -4,6 +4,8 @@ for provider, config in compute_providers Shindo.tests("Fog::Compute[:#{provider}] | flavors", [provider]) do + p config[:mocked] + flavors_tests(Fog::Compute[provider], (config[:flavors_attributes] || {}), config[:mocked]) end