GRAYBYTE WORDPRESS FILE MANAGER8512

Server IP : 198.54.121.189 / Your IP : 216.73.216.224
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/pytest_check/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/pytest_check//__init__.py
import pytest

# We need register rewrites before import
pytest.register_assert_rewrite("pytest_check.check_functions") 

from . import check_functions # noqa: E402

# allow for top level helper function access:
# import pytest_check
# pytest_check.equal(1, 1)
from .check_functions import *  # noqa: F401, F402, F403, E402

# allow to know if any_failures due to any previous check
from .check_log import any_failures  # noqa: F401, F402, F403, E402

# allow top level raises:
# from pytest_check import raises
# with raises(Exception):
#    raise Exception
# with raises(AssertionError):
#     assert 0
from .check_raises import raises  # noqa: F401, F402, F403, E402

# allow for with blocks and assert:
# from pytest_check import check
# with check:
#    assert 1 == 2
from .context_manager import check  # noqa: F401, F402, F403, E402

# allow check.raises()
setattr(check, "raises", raises)

# allow check.any_failures()
setattr(check, "any_failures", any_failures)

# allow check.check as a context manager.
# weird, but some people are doing it.
# deprecate this eventually
setattr(check, "check", check)

# allow for helper functions to be part of check context
# manager and check fixture:
# from pytest_check import check
# def test_():
#     check.equal(1, 1)
#     with check:
#        assert 1 == 2
for func in check_functions.__all__:  # noqa: F405
    setattr(check, func, getattr(check_functions, func))  # noqa: F405

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 25 2025 08:31:36
root / root
0755
__pycache__
--
May 15 2025 08:30:34
root / root
0755
__init__.py
1.401 KB
April 17 2025 13:10:59
root / root
0644
check_functions.py
7.382 KB
April 17 2025 13:10:59
root / root
0644
check_log.py
2.033 KB
April 17 2025 13:10:59
root / root
0644
check_raises.py
4.269 KB
April 17 2025 13:10:59
root / root
0644
context_manager.py
2.027 KB
April 17 2025 13:10:59
root / root
0644
plugin.py
5.01 KB
April 17 2025 13:10:59
root / root
0644
pseudo_traceback.py
3.885 KB
April 17 2025 13:10:59
root / root
0644
py.typed
0 KB
April 17 2025 13:10:59
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF