'C{_computeAllowedMethods} will search through the
\'gettableresource\' for all attributes/methods of the form
\'render_{method}\' (\'render_GET\', for example) and return a list of
the methods. \'HEAD\' will always be included from the
resource.Resource superclass.'

def test_computeAllowedMethods(self):

    res = GettableResource()
    allowedMethods = resource._computeAllowedMethods(res)
    self.assertEqual(set(allowedMethods), set(['GET', 'HEAD', 'fred_render_ethel']))
