diff options
Diffstat (limited to 'test/network/client')
| -rwxr-xr-x | test/network/client/resource.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/network/client/resource.rb b/test/network/client/resource.rb index eb8e829eb..f3c564d9d 100755 --- a/test/network/client/resource.rb +++ b/test/network/client/resource.rb @@ -38,7 +38,6 @@ class TestResourceClient < Test::Unit::TestCase assert_instance_of(Puppet::TransObject, tobj) - Puppet::Type.allclear obj = nil assert_nothing_raised { obj = tobj.to_type @@ -49,7 +48,6 @@ class TestResourceClient < Test::Unit::TestCase File.unlink(file) # Now test applying - Puppet::Type.allclear result = nil assert_nothing_raised { result = client.apply(tobj) @@ -57,7 +55,6 @@ class TestResourceClient < Test::Unit::TestCase assert(FileTest.exists?(file), "File was not created on apply") # Lastly, test "list" - Puppet::Type.allclear list = nil assert_nothing_raised { list = client.list("user") @@ -70,14 +67,12 @@ class TestResourceClient < Test::Unit::TestCase break if count > 3 assert_instance_of(Puppet::TransObject, tobj) - Puppet::Type.allclear tobj2 = nil assert_nothing_raised { tobj2 = client.describe(tobj.type, tobj.name) } obj = nil - Puppet::Type.allclear assert_nothing_raised { obj = tobj2.to_type } |
