old_contents: import unittest
  
  from generic_request_signer.exceptions import WebException, HttpMethodNotAllowed
  
  
  class ExceptionsTests(unittest.TestCase):
  
      def test_web_exception_is_subclass_of_exception(self):
          self.assertTrue(issubclass(WebException, Exception))
  
      def test_web_exception_has_message(self):
          e = WebException('x')
          with self.assertRaises(AssertionError):
              with self.assertRaises(AttributeError):
                  e.message
          self.assertEqual(e.message, 'x')
  
      def test_web_exception_does_not_error_if_no_message_passed_in(self):
          e = WebException()
          with self.assertRaises(AssertionError):
              with self.assertRaises(AttributeError):
                  e.message
          self.assertEqual(e.message, '')
  
      def test_http_method_not_allowed_is_subclass_of_exception(self):
          self.assertTrue(issubclass(HttpMethodNotAllowed, Exception))
  
new_contents: import unittest
  
  from generic_request_signer.exceptions import WebException, HttpMethodNotAllowed
  
  
  class ExceptionsTests(unittest.TestCase):
  
      def test_web_exception_is_subclass_of_exception(self):
          self.assertTrue(issubclass(WebException, Exception))
  
      def test_web_exception_has_message(self):
          e = WebException('x')
          self.assertEqual(e.message, 'x')
  
      def test_web_exception_does_not_error_if_no_message_passed_in(self):
          e = WebException()
          self.assertEqual(e.message, '')
  
      def test_http_method_not_allowed_is_subclass_of_exception(self):
          self.assertTrue(issubclass(HttpMethodNotAllowed, Exception))
  
subject: remove unneeded assertions