def get_mock_position(self, x, y):
    pos = Mock()
    pos.x.return_value = x
    pos.y.return_value = y
    return pos
def get_mock_position(self, x, y):
    pos = Mock()
    pos.x.return_value = x
    pos.y.return_value = y
    return pos