title: Mock python function with multiple return values
body: <p>I have a python function that returns multiples values. My function:</p>
  
  <pre><code>def myExampleFunction(a,b)
      # here is my code
      return name, number1, number2
  
  
  def FunctionIWantToTest(self):
      # here is my code
      myName, myNumber1, myNumber2 = self.myExampleFunction(a,b)
  </code></pre>
  
  <p>I want to give my own values to the returned values from FunctionIWantToTest. So, I'm trying to test the 2nd function with nosetest, but I don't know how to mock the return of myExampleFunction.</p>
  
  <p>I tried this:</p>
  
  <pre><code>def test_mytest(self):
      [...]
      c.myExampleFunction = Mock()
      c.myExampleFunction.side_effect = ["myName", 100, 200]
      [...]
  </code></pre>
  
  <p>But it doesn't work. When I launch nosetests I read this message:</p>
  
  <pre><code>ValueError: too many values to unpack
  </code></pre>
  
  <p>Any idea? I use python 2.7.3</p>