Test hlcc.utils.Client class.
More...
|
| 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.
|
| |
Test hlcc.utils.Client class.
◆ 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.
◆ stream_buff
| test_logging_config.TestClient.stream_buff |
The documentation for this class was generated from the following file: