diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-09-13 22:58:49 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-09-13 22:58:49 -0700 |
commit | 0077379e528037d875a92575a994d01ca5233cc0 (patch) | |
tree | 44ab118b53349184992fa65de5358f331a859545 /test | |
parent | 754ed19a8105a1be01c723a91abf9999ec6a8ab3 (diff) | |
parent | cad1e0f69ca19b37901f7f289444feae8f9ebd34 (diff) | |
download | puppet-0077379e528037d875a92575a994d01ca5233cc0.tar.gz puppet-0077379e528037d875a92575a994d01ca5233cc0.tar.xz puppet-0077379e528037d875a92575a994d01ca5233cc0.zip |
Merge commit '2.6.1'
Diffstat (limited to 'test')
-rwxr-xr-x | test/ral/manager/attributes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ral/manager/attributes.rb b/test/ral/manager/attributes.rb index 74a4d0708..6d0284d9e 100755 --- a/test/ral/manager/attributes.rb +++ b/test/ral/manager/attributes.rb @@ -229,7 +229,10 @@ class TestTypeAttributes < Test::Unit::TestCase end yes.each { |a| assert(resource.should(a), "Did not get value for #{a} in #{prov.name}") } no.each do |a| - # These may or may not get passed to the provider. We shouldn't care. + assert_nil(resource.should(a), "Got value for unsupported %s in %s" % [a, prov.name]) + if Puppet::Util::Log.sendlevel?(:info) + assert(@logs.find { |l| l.message =~ /not managing attribute #{a}/ and l.level == :info }, "No warning about failed %s" % a) + end end @logs.clear |