Mercurial > libervia-backend
comparison libervia/backend/test/helpers.py @ 4078:15055a00162c
refactoring: rename `sat_configure` to `libervia_configure`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 02 Jun 2023 18:21:15 +0200 |
parents | 4b842c1fb686 |
children | bc7d45dedeb0 |
comparison
equal
deleted
inserted
replaced
4077:d6837db456fd | 4078:15055a00162c |
---|---|
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 | 20 |
21 ## logging configuration for tests ## | 21 ## logging configuration for tests ## |
22 from libervia.backend.core import log_config | 22 from libervia.backend.core import log_config |
23 log_config.sat_configure() | 23 log_config.libervia_configure() |
24 | 24 |
25 import logging | 25 import logging |
26 from libervia.backend.core.log import getLogger | 26 from libervia.backend.core.log import getLogger |
27 getLogger().setLevel(logging.WARNING) # put this to DEBUG when needed | 27 getLogger().setLevel(logging.WARNING) # put this to DEBUG when needed |
28 | 28 |