def test_prePathURLHost(self):
        req = FakeRequest(currentSegments=['a', 'b'],
                          uri='/a/b/c/',
                          headers={'host': 'foo.bar'})
        self.assertEqual(req.prePathURL(), 'http://foo.bar/a/b')
Return an iterable of filters that are always to be applied.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/TestFakeRequest.test_prePathURLHost--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Model._default_filters