'The I{filename} renderer of L{_FrameElement} renders the filename
associated with the frame object used to initialize the
L{_FrameElement}.'

def test_frameElementFilename(self):

    element = _FrameElement(TagLoader(tags.span(render='filename')), self.frame)
    d = flattenString(None, element)
    d.addCallback(self.assertEqual, (('<span>' + networkString(__file__.rstrip('c'))) + '</span>'))
    return d
