diff options
| author | Eloy Felix <eloyfelix@gmail.com> | 2017-06-20 09:29:34 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-06-20 09:48:49 -0400 |
| commit | bff001187f5ad7192103d6255158a6c88e848049 (patch) | |
| tree | 4cfe9e178d43e53a296523932def18e277cff50e /test/engine | |
| parent | 83c1e03c5c74c69facfc371840ffae890f05c338 (diff) | |
| download | sqlalchemy-bff001187f5ad7192103d6255158a6c88e848049.tar.gz | |
Don't erase reflected comment in _init_existing
Change-Id: Ie0b78c79367933486528ca0ba686d4a9f16922b1
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/370
Diffstat (limited to 'test/engine')
| -rw-r--r-- | test/engine/test_reflection.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py index 80a804796..a6b0cdec9 100644 --- a/test/engine/test_reflection.py +++ b/test/engine/test_reflection.py @@ -1055,6 +1055,10 @@ class ReflectionTest(fixtures.TestBase, ComparesTables): eq_(t2.comment, 't1 comment') eq_(t2.c.id.comment, 'c1 comment') + t3 = Table('sometable', m2, extend_existing=True) + eq_(t3.comment, 't1 comment') + eq_(t3.c.id.comment, 'c1 comment') + @testing.requires.check_constraint_reflection @testing.provide_metadata def test_check_constraint_reflection(self): |
