def test_do_not_rewind(self):
    stream = mock.Mock(spec=[u'seek'])
    ret_val = self._call_fut(stream, rewind=False)
    self.assertIsNone(ret_val)
    stream.seek.assert_not_called()
def test_do_not_rewind(self):
    stream = mock.Mock(spec=[u'seek'])
    ret_val = self._call_fut(stream, rewind=False)
    self.assertIsNone(ret_val)
    stream.seek.assert_not_called()