    def test_stop_app(self):
        """
        Check that we can create a StopApplication.
        """
        message = "Test message"
        error = StopApplication(message)
        self.assertEqual(str(error), message)
Check that we can create a StopApplication.
tests/test_exceptions.py