Logo white

Peter M. Groen / oletools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 1,521
  • Compare
  • Branches 1
  • Tags 0
  • oletools
  • tests
  • common
  • log_helper
  • log_helper_test_main.py
22 Dec, 2023
3 commits
  • log_helper: Test and improve error-handling ...
    58bb3b81
    If there is an error in log-handling (e.g. wrong args to logger call) do
    not fail or raise but produce something helpful
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse File »
  • tests: Add 2 tests for json formatting ...
    28c0449c
    Need to make sure that json output is formatted since e.g. warning messages
    are created like this:
       log.warning('%s', actual_message)
    so without proper formatting the message is just "%s".
    
    Also test that exception info is added as usual.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse File »
  • tests: Add warnings to log_helper test ...
    6bc04064
    Encountered an example where a 3rd-party library issued a warning that
    messed up the json output. Create test to reproduce this.
    Christian Herdtweck authored
    2023-12-22 13:04:37 +0100  
    Browse File »

16 Feb, 2022
1 commit
  • tests: make log test modules look more like regular ones
    79b3c649
    Christian Herdtweck authored
    2022-02-16 13:56:17 +0100  
    Browse File »

07 May, 2019
1 commit
  • tests: Add test for %-autoformatting of log messages
    c7a708db
    Christian Herdtweck authored
    2019-05-07 10:21:14 +0200  
    Browse File »

01 Apr, 2019
1 commit
  • tests: Test new "type" field of json logging output ...
    7d89934c
    Every logging call can have an optional arg type='...' which is
    ignored when logging to text but shows in json output. The "type"
    of regular logging output in json is type='msg'.
    
    Added 2 messages with different type, adjusted existing test, created
    2 new ones.
    Christian Herdtweck authored
    2019-04-01 09:04:52 +0200  
    Browse File »

15 Oct, 2018
2 commits
  • Update imports for log_helper in tests
    911b2732
    Christian Herdtweck authored
    2018-10-15 10:42:04 +0200  
    Browse File »
  • Rename log_helper base dir in tests
    e073ff5a
    Christian Herdtweck authored
    2018-10-15 10:41:57 +0200  
    Browse File »