[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
test branch
puppet-dev at googlegroups.com
Wed Jul 14 10:31:21 UTC 2010
The following commit has been merged in the upstream branch:
commit 50ed75b5c2bca5edeec2a3a6f60f6b5c16483a1a
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Wed Apr 7 13:42:17 2010 -0700
Remove test that tests internal class structures which have changed.
diff --git a/test/other/transactions.rb b/test/other/transactions.rb
index 57aa234..f8bdb9f 100755
--- a/test/other/transactions.rb
+++ b/test/other/transactions.rb
@@ -507,34 +507,6 @@ class TestTransactions < Test::Unit::TestCase
assert(transaction.missing_tags?(resource), "Considered a resource not to be missing tags when running a host catalog and tags are missing")
end
- # Make sure changes generated by eval_generated resources have proxies
- # set to the top-level resource.
- def test_proxy_resources
- type = mkreducer do
- def evaluate
- return Puppet::Transaction::Change.new(Fakeprop.new(
- :path => :path, :is => "start_value", :should => "desired_value", :name => self.name, :resource => "fake_parent"), :is)
- end
- end
-
- resource = type.new :name => "test"
- config = mk_catalog(resource)
- trans = Puppet::Transaction.new(config)
- trans.prepare
-
- assert_nothing_raised do
- trans.eval_resource(resource)
- end
-
- changes = trans.instance_variable_get("@changes")
-
- assert(changes.length > 0, "did not get any changes")
-
- changes.each do |change|
- assert_equal(resource.object_id, change.resource.object_id, "change did not get proxy set correctly")
- end
- end
-
# Make sure changes in contained files still generate callback events.
def test_generated_callbacks
dir = tempfile()
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list