new_contents: #coding: utf8
  import urlfetch
  import unittest
  
  
  class OthersTest(unittest.TestCase):
  
      def test_module_has_methods(self):
          for method in ('get', 'head', 'put', 'post', 'delete',
                         'options', 'trace', 'patch'):
              self.assertTrue(hasattr(urlfetch, method))
              self.assertTrue(callable(getattr(urlfetch, method)))
  
  
  if __name__ == '__main__':
      unittest.main()
  
subject: Test module methods