MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_off_empty

Method test_off_empty

test/orm/test_attributes.py:1060–1063  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1058 assert "attr" not in dict_
1059
1060 def test_off_empty(self):
1061 attr, state, dict_ = self._fixture(None)
1062 eq_(attr.get(state, dict_, passive=attributes.PASSIVE_OFF), None)
1063 assert "attr" not in dict_
1064
1065
1066class UtilTest(fixtures.ORMTest):

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
eq_Function · 0.90
getMethod · 0.45

Tested by

no test coverage detected