summaryrefslogtreecommitdiffstats
path: root/test/language/parser.rb
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/language/parser.rb
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/language/parser.rb')
-rwxr-xr-xtest/language/parser.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb
index 9a2aed711..6ff83054a 100755
--- a/test/language/parser.rb
+++ b/test/language/parser.rb
@@ -26,15 +26,6 @@ class TestParser < Test::Unit::TestCase
parser.file = file
parser.parse
}
-
- Puppet::Type.eachtype { |type|
- type.each { |obj|
- assert(obj.file, "File is not set on %s" % obj.ref)
- assert(obj.name, "Name is not set on %s" % obj.ref)
- assert(obj.line, "Line is not set on %s" % obj.ref)
- }
- }
- Puppet::Type.allclear
}
end
@@ -49,7 +40,6 @@ class TestParser < Test::Unit::TestCase
config.compile
#ast.classes[""].evaluate :scope => config.topscope
}
- Puppet::Type.allclear
}
end
@@ -680,7 +670,6 @@ file { "/tmp/yayness":
manifest = File.join(modpath, "manifest.pp")
manifest_texts.each do |txt|
- Puppet::Type.allclear
File.open(manifest, "w") { |f| f.puts txt }
assert_nothing_raised {