(self)
| 447 | ) |
| 448 | |
| 449 | def test_bind_param_truncated_named(self): |
| 450 | table1 = self.table1 |
| 451 | bp = bindparam(_truncated_label("this_is_the_long_bindparam_name")) |
| 452 | stmt = table1.insert().values(this_is_the_data_column=bp) |
| 453 | compiled = stmt.compile(dialect=self._length_fixture(length=10)) |
| 454 | eq_( |
| 455 | compiled.construct_params( |
| 456 | params={"this_is_the_long_bindparam_name": 5} |
| 457 | ), |
| 458 | {"this_1": 5}, |
| 459 | ) |
| 460 | |
| 461 | def test_bind_param_truncated_positional(self): |
| 462 | table1 = self.table1 |
nothing calls this directly
no test coverage detected