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- authored and pvital committed Nov 8, 2023
1 parent dd11c13 commit 7d8a789
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 7d8a789

Please sign in to comment.