OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
tests
/
integration
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:19:10 PM
rwxr-xr-x
📄
__init__.py
479 bytes
05/14/2024 03:19:10 PM
rw-r--r--
📁
__pycache__
-
05/14/2024 03:19:10 PM
rwxr-xr-x
📄
helper.py
1.74 KB
05/14/2024 03:19:10 PM
rw-r--r--
📄
test_chunked_logging.py
1.26 KB
05/14/2024 03:19:10 PM
rw-r--r--
📄
test_common_logging.py
827 bytes
05/14/2024 03:19:10 PM
rw-r--r--
📄
test_debugging_fields.py
1.96 KB
05/14/2024 03:19:10 PM
rw-r--r--
📄
test_extra_fields.py
2.2 KB
05/14/2024 03:19:10 PM
rw-r--r--
📄
test_status_issue.py
1.93 KB
05/14/2024 03:19:10 PM
rw-r--r--
Editing: __init__.py
Close
#!/usr/bin/env python # -*- coding: utf-8 -*- """integration pytests for :mod:`graypy` .. note:: These tests require an local instance of Graylog to send messages to. """ import requests def validate_local_graylog_up(): """Test to see if a localhost instance of Graylog is currently running""" try: requests.get("http://127.0.0.1:9000/api") return True except Exception: return False LOCAL_GRAYLOG_UP = validate_local_graylog_up()