diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-12 16:04:34 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-12 16:04:34 +0000 |
commit | f1462cb0d262ccd29b2b5cac5bec4b51e91569e8 (patch) | |
tree | dd4ec6f052cf50b48f385f0929098bd737c58cdb | |
parent | e98edac0f3e79ffee1178ca7861e8d2f856c8840 (diff) | |
download | puppet-f1462cb0d262ccd29b2b5cac5bec4b51e91569e8.tar.gz puppet-f1462cb0d262ccd29b2b5cac5bec4b51e91569e8.tar.xz puppet-f1462cb0d262ccd29b2b5cac5bec4b51e91569e8.zip |
removing the test for a method I removed yesterday
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2683 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-x | test/ral/manager/type.rb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/test/ral/manager/type.rb b/test/ral/manager/type.rb index 09341f10e..cbe969fb3 100755 --- a/test/ral/manager/type.rb +++ b/test/ral/manager/type.rb @@ -316,54 +316,6 @@ class TestType < Test::Unit::TestCase end end - def test_loadplugins - names = %w{loadedplugin1 loadplugin2 loadplugin3} - dirs = [] - 3.times { dirs << tempfile() } - # Set plugindest to something random - Puppet[:plugindest] = tempfile() - - Puppet[:pluginpath] = dirs.join(":") - - names.each do |name| - dir = dirs.shift - Dir.mkdir(dir) - - # Create an extra file for later - [name, name + "2ness"].each do |n| - file = File.join(dir, n + ".rb") - File.open(file, "w") do |f| - f.puts %{Puppet::Type.newtype('#{n}') do - newparam(:argument) do - isnamevar - end -end -} - end - end - - assert(Puppet::Type.type(name), - "Did not get loaded plugin") - - assert_nothing_raised { - Puppet::Type.type(name).create( - :name => "myname" - ) - } - end - - # Now make sure the plugindest got added to our pluginpath - assert(Puppet[:pluginpath].split(":").include?(Puppet[:plugindest]), - "Plugin dest did not get added to plugin path") - - # Now make sure it works with just a single path, using the extra files - # created above. - Puppet[:pluginpath] = Puppet[:pluginpath].split(":")[0] - assert(Puppet::Type.type("loadedplugin12ness"), - "Did not get loaded plugin") - - end - def test_newtype_methods assert_nothing_raised { Puppet::Type.newtype(:mytype) do |