def test_invalidMethod(self):
    '\n        L{UserDirectory.render} raises L{UnsupportedMethod} in response to a\n        non-I{GET} request.\n        '
    request = DummyRequest([''])
    request.method = 'POST'
    self.assertRaises(server.UnsupportedMethod, self.directory.render, request)
L{UserDirectory.render} raises L{UnsupportedMethod} in response to a
non-I{GET} request.
def test_invalidMethod(self):
    '\n        L{UserDirectory.render} raises L{UnsupportedMethod} in response to a\n        non-I{GET} request.\n        '
    request = DummyRequest([])
    request.method = 'POST'
    self.assertRaises(server.UnsupportedMethod, self.directory.render, request)