diff options
Diffstat (limited to 'test/base/test_except.py')
-rw-r--r-- | test/base/test_except.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/test/base/test_except.py b/test/base/test_except.py index 7ef077659..94dc8520e 100644 --- a/test/base/test_except.py +++ b/test/base/test_except.py @@ -83,7 +83,7 @@ class WrapTest(fixtures.TestBase): str(exc), "(test.base.test_except.OperationalError) \n" "[SQL: this is a message]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) @@ -101,7 +101,7 @@ class WrapTest(fixtures.TestBase): "(test.base.test_except.OperationalError) \n" "[SQL: this is a message\nthis is the next line\n" "the last line]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) @@ -135,7 +135,7 @@ class WrapTest(fixtures.TestBase): "(sqlalchemy.exc.InvalidRequestError) hello\n" "[SQL: select * from table]\n" "[parameters: [{'x': 1}]]\n" - "(Background on this error at: http://sqlalche.me/e/%s/abcd)" + "(Background on this error at: https://sqlalche.me/e/%s/abcd)" % sa_exceptions._version_token, ) eq_(err.args, ("(sqlalchemy.exc.InvalidRequestError) hello",)) @@ -147,7 +147,7 @@ class WrapTest(fixtures.TestBase): eq_( str(orig), "(2006, 'Test raise operational error')\n" - "(Background on this error at: http://sqlalche.me/e/%s/dbapi)" + "(Background on this error at: https://sqlalche.me/e/%s/dbapi)" % sa_exceptions._version_token, ) @@ -159,7 +159,8 @@ class WrapTest(fixtures.TestBase): compat.text_type(orig), compat.u( "méil\n(Background on this error at: " - "http://sqlalche.me/e/%s/dbapi)" % sa_exceptions._version_token + "https://sqlalche.me/e/%s/dbapi)" + % sa_exceptions._version_token ), ) eq_(orig.args, (u("méil"),)) @@ -232,7 +233,7 @@ class WrapTest(fixtures.TestBase): "[SQL: this is a message]\n" "[parameters: [{1: 1}, {1: 1}, {1: 1}, {1: 1}, {1: 1}," " {1: 1}, {1: 1}, {1: 1}, {1: 1}, {1: 1}]]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) eq_( @@ -268,7 +269,7 @@ class WrapTest(fixtures.TestBase): "{1: 1}, {1: 1}, {1: 1}, {1: 1}, {1: 1}, " "{1: 1}, {1: 1} ... displaying 10 of 11 total " "bound parameter sets ... {1: 1}, {1: 1}]]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) try: @@ -286,7 +287,7 @@ class WrapTest(fixtures.TestBase): "[SQL: this is a message]\n" "[parameters: [(1,), " "(1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,), (1,)]]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) try: @@ -318,7 +319,7 @@ class WrapTest(fixtures.TestBase): "(1,), (1,), (1,), (1,), (1,), (1,), (1,) " "... displaying 10 of 11 total bound " "parameter sets ... (1,), (1,)]]\n" - "(Background on this error at: http://sqlalche.me/e/%s/e3q8)" + "(Background on this error at: https://sqlalche.me/e/%s/e3q8)" % sa_exceptions._version_token, ) |