Skip to content

Commit

Permalink
test: Cover the HostAgent can_send method
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Géczi <[email protected]>
  • Loading branch information
Ferenc- committed Nov 8, 2023
1 parent 6e22d34 commit 06f0167
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions instana/agent/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")

0 comments on commit 06f0167

Please sign in to comment.