OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
tests
/
unit
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:57:55 PM
rwxr-xr-x
📄
__init__.py
212 bytes
03/16/2023 12:57:55 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 12:57:55 PM
rwxr-xr-x
📄
helper.py
371 bytes
03/16/2023 12:57:55 PM
rw-r--r--
📄
test_ExcludeFilter.py
1.17 KB
03/16/2023 12:57:55 PM
rw-r--r--
📄
test_GELFRabbitHandler.py
1.21 KB
03/16/2023 12:57:55 PM
rw-r--r--
📄
test_chunking.py
4.96 KB
03/16/2023 12:57:55 PM
rw-r--r--
📄
test_handler.py
7.72 KB
03/16/2023 12:57:55 PM
rw-r--r--
Editing: helper.py
Close
#!/usr/bin/env python # -*- coding: utf-8 -*- """helper functions for testing graypy with mocks of python logging and Graylog services""" import logging MOCK_LOG_RECORD_NAME = "MOCK_LOG_RECORD" MOCK_LOG_RECORD = logging.LogRecord( MOCK_LOG_RECORD_NAME, logging.INFO, pathname=None, lineno=None, msg="Log message", args=(), exc_info=None, )