mocks.py: add err() to fix udp_bridge test

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Merge remote-tracking branch 'tcollect/master'