summaryrefslogtreecommitdiffstats
path: root/test/network/client
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-14 13:34:06 -0800
committerLuke Kanies <luke@madstop.com>2008-01-14 13:34:06 -0800
commitcfda651f88d12249f29706d2bedbfddce7a2e6f7 (patch)
tree41c57e5e1405691a561b35b1ceac890c6a341ef3 /test/network/client
parent488c43771aea482e0212b605bde054bf8cb0533c (diff)
downloadpuppet-cfda651f88d12249f29706d2bedbfddce7a2e6f7.tar.gz
puppet-cfda651f88d12249f29706d2bedbfddce7a2e6f7.tar.xz
puppet-cfda651f88d12249f29706d2bedbfddce7a2e6f7.zip
Another round of test-fixes toward eliminating global resource
references. This should have gotten rid of all of them, and now it's just a question of fixing a few hopefully unrelated failing tests.
Diffstat (limited to 'test/network/client')
-rwxr-xr-xtest/network/client/resource.rb5
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
}