def test_face_setter(): view = View() model = Model(view) face = Face() model.face = face assert model.face is face assert view.face is face
def model(): view = View() face = Face() model = Model(view) model.face = face yield model
def model(): view = View() face = Face() model = Model(view) model.face = face yield model