mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-29 12:53:02 +02:00
16 lines
362 B
Python
16 lines
362 B
Python
from flexmock import flexmock
|
|
|
|
import borgmatic.logger as module
|
|
|
|
|
|
def test_json_formatter_format_does_not_raise():
|
|
module.Json_formatter().format(
|
|
flexmock(
|
|
created=12345,
|
|
levelno=module.logging.INFO,
|
|
levelname='INFO',
|
|
name='borg.something',
|
|
getMessage=lambda: 'All done',
|
|
)
|
|
)
|