'Can be initialized with a custom requestFactory.'

def test_constructorRequestFactory(self):

    customFactory = object()
    site = server.Site(resource=SimpleResource(), requestFactory=customFactory)
    self.assertIs(customFactory, site.requestFactory)
