hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
test_logging_config.TestClient Class Reference

Test hlcc.utils.Client class. More...

Inheritance diagram for test_logging_config.TestClient:

Public Member Functions

def setUp (self)
 
def probe_a_log (self, log_method, log_text, expected=True)
 Send a log with log_text using the passed log_method and probe that this is really what is sent to the console log handler.
 
def test_logging_default_config (self)
 Test if the logging messages are sent correctly.
 

Public Attributes

 stream_buff
 

Detailed Description

Test hlcc.utils.Client class.

Member Function Documentation

◆ probe_a_log()

def test_logging_config.TestClient.probe_a_log (   self,
  log_method,
  log_text,
  expected = True 
)

Send a log with log_text using the passed log_method and probe that this is really what is sent to the console log handler.

TODO At the moment we have no easy way to test what is sent to syslog and this shall be done by visual inspections

◆ setUp()

def test_logging_config.TestClient.setUp (   self)

◆ test_logging_default_config()

def test_logging_config.TestClient.test_logging_default_config (   self)

Test if the logging messages are sent correctly.

Member Data Documentation

◆ stream_buff

test_logging_config.TestClient.stream_buff

The documentation for this class was generated from the following file: