def METHOD_NAME(self):
    # check that a persistent page template that happens to have
    # a filename attribute doesn't break
    template = self._makeOne('foo', repeat_object)
    template.filename = 'some/random/path'
    # this should still work, without trying to open some random
    # file on the filesystem
    self.assertEqual(template().strip(), '012')