File: test_debug.py

package info (click to toggle)
pyopenssl 25.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,252 kB
  • sloc: python: 8,292; makefile: 116
file content (10 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from OpenSSL import version
from OpenSSL.debug import _env_info


def test_debug_info() -> None:
    """
    Debug info contains correct data.
    """
    # Just check a sample we control.
    assert version.__version__ in _env_info