(self)
| 86 | ) |
| 87 | |
| 88 | def test_label_length_custom_maxlen(self): |
| 89 | max_ident_length = testing.db.dialect.max_identifier_length |
| 90 | eng = engines.testing_engine( |
| 91 | options={ |
| 92 | "label_length": max_ident_length + 10, |
| 93 | "max_identifier_length": max_ident_length + 20, |
| 94 | } |
| 95 | ) |
| 96 | with eng.connect() as conn: |
| 97 | eq_(conn.dialect.max_identifier_length, max_ident_length + 20) |
| 98 | |
| 99 | def test_label_length_custom_maxlen_dialect_only(self): |
| 100 | dialect = default.DefaultDialect(max_identifier_length=47) |
nothing calls this directly
no test coverage detected