MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_info

Method test_info

test/ext/test_hybrid.py:614–622  ·  view source on GitHub ↗
(self, use_inplace, use_classmethod)

Source from the content-addressed store, hash-verified

612 @testing.variation("use_inplace", [True, False])
613 @testing.variation("use_classmethod", [True, False])
614 def test_info(self, use_inplace, use_classmethod):
615 A = self._fixture(
616 use_inplace=use_inplace, use_classmethod=use_classmethod
617 )
618 inspect(A).all_orm_descriptors.value.info["some key"] = "some value"
619 eq_(
620 inspect(A).all_orm_descriptors.value.info,
621 {"some key": "some value"},
622 )
623
624 @testing.variation("use_inplace", [True, False])
625 @testing.variation("use_classmethod", [True, False])

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
inspectFunction · 0.90
eq_Function · 0.90

Tested by

no test coverage detected