MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_passive_ret_no_value

Method test_passive_ret_no_value

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

Source from the content-addressed store, hash-verified

1042 assert "attr" not in dict_
1043
1044 def test_passive_ret_no_value(self):
1045 attr, state, dict_ = self._fixture(attributes.NO_VALUE)
1046 eq_(
1047 attr.get(state, dict_, passive=attributes.PASSIVE_RETURN_NO_VALUE),
1048 attributes.NO_VALUE,
1049 )
1050 assert "attr" not in dict_
1051
1052 def test_passive_ret_no_value_empty(self):
1053 attr, state, dict_ = self._fixture(None)

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
eq_Function · 0.90
getMethod · 0.45

Tested by

no test coverage detected