improve composite on-compile event

Issue #2935 resolved
Mike Bayer repo owner created an issue
diff --git a/test/orm/test_composites.py b/test/orm/test_composites.py
index f13720e..9b34333 100644
--- a/test/orm/test_composites.py
+++ b/test/orm/test_composites.py
@@ -78,6 +78,11 @@ class PointTest(fixtures.MappedTest):
         sess.commit()
         return sess

+    def test_early_configure(self):
+        Edge = self.classes.Edge
+        sess = Session()
+        sess.query(Edge.start)
+
     def test_round_trip(self):
         Graph, Point = self.classes.Graph, self.classes.Point

fails because _init_props() hasn't been called.

Comments (1)

  1. Log in to comment