From 6b91e581f6d7d9b8db225dcc6f06c6494f17c8be Mon Sep 17 00:00:00 2001 From: Michiel De Witte Date: Wed, 12 Dec 2018 14:48:49 +0100 Subject: [PATCH] fix failing test helperclient response type NON --- coapthon/client/helperclient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coapthon/client/helperclient.py b/coapthon/client/helperclient.py index 4ec0aad..eb79191 100644 --- a/coapthon/client/helperclient.py +++ b/coapthon/client/helperclient.py @@ -239,6 +239,8 @@ class HelperClient(object): if response is not None: if response.mid == request.mid: return response + if response.type == defines.Types["NON"]: + return response else: return response except Empty: