diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-05-22 20:17:49 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-05-22 20:17:49 +0000 |
| commit | 3fb0eb5a156ab7dbe19d82717dd197d9d22e64f1 (patch) | |
| tree | 99ce177d59319c5df02f4a854b9e563756d629c4 /test | |
| parent | 16fcbd3be2fc702bc022ff848b6e0f400d60f2f6 (diff) | |
| parent | 2644693c0bf5b775f7a7283cdbf566a37872586f (diff) | |
| download | sqlalchemy-3fb0eb5a156ab7dbe19d82717dd197d9d22e64f1.tar.gz | |
Merge "Fix query string escaping in engine URLs"
Diffstat (limited to 'test')
| -rw-r--r-- | test/engine/test_parseconnect.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py index 1277425c1..77b882f2c 100644 --- a/test/engine/test_parseconnect.py +++ b/test/engine/test_parseconnect.py @@ -147,6 +147,11 @@ class URLTest(fixtures.TestBase): "dialect://user:pass@host/db?arg1=param1&arg2=param2&arg2=param3", ) + test_url = "dialect://user:pass@host/db?arg1%3D=param1&arg2=param+2" + u = url.make_url(test_url) + eq_(u.query, {"arg1=": "param1", "arg2": "param 2"}) + eq_(str(u), test_url) + def test_comparison(self): components = ( "drivername", |
