'Should remain at marked location ater context exit.'

def test_mark(self):

    with self.context as context:
        context.mark(self.partition, 0)
        self.consumer.offsets = {self.partition: 1}
    self.assertEqual(self.client.send_offset_commit_request.call_count, 1)
    self.assertEqual(self.consumer.offsets, {self.partition: 1})
    self.assertEqual(self.consumer.seek.call_count, 1)
    self.assertEqual(self.consumer.seek.call_args[0], (0, 1))
