Re-enable test for __of__

parent c63daad0
...@@ -46,13 +46,10 @@ Let's check that we're in the right context: ...@@ -46,13 +46,10 @@ Let's check that we're in the right context:
>>> view.aq_inContextOf(object()) >>> view.aq_inContextOf(object())
0 0
Let's try the __of__ protocol: Views also still support the __of__ protocol, at least pro forma:
#>>> view = view.__of__(self.app) >>> view == view.__of__(self.app)
#>>> view.aq_parent == self.folder True
#False
#>>> view.aq_parent == self.app
#True
Mixing in Acquisition.{Ex|Im}plicit Mixing in Acquisition.{Ex|Im}plicit
----------------------------------- -----------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment