# File test.rb, line 342
    def test_include_template
      pt = PageTemplate::Parser.new("include_path" => "tdata/")
      pt.load("include.txt")
      pt["file"] = "variable.txt"
      pt["name"] = "Phil"
      assert(pt.output =~ /Hello, Phil!/,
             "Included files are parsed as templates.")
      pt.source.paths = [ Dir.getwd ]
      pt.load("tdata/include.txt")
      assert(pt.output =~ /variable.txt/,
             "Filename for includes may include directories")
    end