MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _assert_not_hasparent

Method _assert_not_hasparent

test/orm/test_hasparent.py:84–85  ·  view source on GitHub ↗
(self, a1)

Source from the content-addressed store, hash-verified

82 assert attributes.has_parent(self.classes.User, a1, "addresses")
83
84 def _assert_not_hasparent(self, a1):
85 assert not attributes.has_parent(self.classes.User, a1, "addresses")
86
87 def _fixture(self):
88 User, Address = self.classes.User, self.classes.Address

Calls 1

has_parentMethod · 0.80

Tested by

no test coverage detected