From 06f016724096736fab903846584c037be645347d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Wed, 8 Nov 2023 13:00:00 +0000 Subject: [PATCH] test: Cover the HostAgent can_send method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Géczi --- instana/agent/test.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/instana/agent/test.py b/instana/agent/test.py index 688d5ece4..06e70ec74 100644 --- a/instana/agent/test.py +++ b/instana/agent/test.py @@ -22,12 +22,5 @@ def get_from_structure(self): """ return {'e': os.getpid(), 'h': 'fake'} - def can_send(self): - """ - Are we in a state where we can send data? - @return: Boolean - """ - return True - def report_traces(self, spans): logger.warning("Tried to report_traces with a TestAgent!")