def METHOD_NAME(self):
    # read through empty pipe
    d = 'empty pipeline test READ'
    with open(TESTFN, 'w') as f:
        f.write(d)
    t=pipes.Template()
    f = t.open(TESTFN, 'r')
    try:
        self.assertEqual(f.read(), d)
    finally:
        f.close()