MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_hasattr

Method test_hasattr

test/ext/test_hybrid.py:1064–1071  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1062 return A
1063
1064 def test_hasattr(self):
1065 A = self._fixture()
1066
1067 is_false(hasattr(A.value_syn, "nonexistent"))
1068
1069 is_false(hasattr(A.string_value_syn, "nonexistent"))
1070
1071 is_false(hasattr(A.string_expr_value_syn, "nonexistent"))
1072
1073 def test_instance_access(self):
1074 A = self._fixture()

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
is_falseFunction · 0.90

Tested by

no test coverage detected