#NEWLINE# def test_renderWithoutHost( self ) : #NEWLINE# #INDENT# "\n        L{NameVirtualHost.render} returns the result of rendering the\n        instance's C{default} if it is not C{None} and there is no I{Host}\n        header in the request.\n        " #NEWLINE# virtualHostResource = NameVirtualHost ( ) #NEWLINE# virtualHostResource . default = Data ( b'correct result' , '' ) #NEWLINE# request = DummyRequest ( [ '' ] ) #NEWLINE# self . assertEqual ( virtualHostResource . render ( request ) , b'correct result' )