From 70c4bacb2b5ab63433ad1634db6f1e2f272bd887 Mon Sep 17 00:00:00 2001 From: Simon Broeng Jensen Date: Sun, 30 Nov 2014 17:58:41 +0100 Subject: [PATCH] mocks.py: add err() to fix udp_bridge test Signed-off-by: Vasiliy Kiryanov --- mocks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mocks.py b/mocks.py index 32d3ae61..af2048ed 100644 --- a/mocks.py +++ b/mocks.py @@ -76,3 +76,6 @@ def write(self, outString): class Utils(): def __init__(self): self.drop_privileges = lambda: None + + def err(self, msg): + sys.stderr.write("%s\n" % msg)