✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python37/lib/python3.7/site-packages/_pytest//setuponly.py
import pytest
import sys


def pytest_addoption(parser):
    group = parser.getgroup("debugconfig")
    group.addoption('--setuponly', '--setup-only', action="store_true",
                    help="only setup fixtures, do not execute tests.")
    group.addoption('--setupshow', '--setup-show', action="store_true",
                    help="show setup of fixtures while executing tests.")


@pytest.hookimpl(hookwrapper=True)
def pytest_fixture_setup(fixturedef, request):
    yield
    config = request.config
    if config.option.setupshow:
        if hasattr(request, 'param'):
            # Save the fixture parameter so ._show_fixture_action() can
            # display it now and during the teardown (in .finish()).
            if fixturedef.ids:
                if callable(fixturedef.ids):
                    fixturedef.cached_param = fixturedef.ids(request.param)
                else:
                    fixturedef.cached_param = fixturedef.ids[
                        request.param_index]
            else:
                fixturedef.cached_param = request.param
        _show_fixture_action(fixturedef, 'SETUP')


def pytest_fixture_post_finalizer(fixturedef):
    if hasattr(fixturedef, "cached_result"):
        config = fixturedef._fixturemanager.config
        if config.option.setupshow:
            _show_fixture_action(fixturedef, 'TEARDOWN')
            if hasattr(fixturedef, "cached_param"):
                del fixturedef.cached_param


def _show_fixture_action(fixturedef, msg):
    config = fixturedef._fixturemanager.config
    capman = config.pluginmanager.getplugin('capturemanager')
    if capman:
        out, err = capman.suspendcapture()

    tw = config.get_terminal_writer()
    tw.line()
    tw.write(' ' * 2 * fixturedef.scopenum)
    tw.write('{step} {scope} {fixture}'.format(
        step=msg.ljust(8),  # align the output to TEARDOWN
        scope=fixturedef.scope[0].upper(),
        fixture=fixturedef.argname))

    if msg == 'SETUP':
        deps = sorted(arg for arg in fixturedef.argnames if arg != 'request')
        if deps:
            tw.write(' (fixtures used: {0})'.format(', '.join(deps)))

    if hasattr(fixturedef, 'cached_param'):
        tw.write('[{0}]'.format(fixturedef.cached_param))

    if capman:
        capman.resumecapture()
        sys.stdout.write(out)
        sys.stderr.write(err)


@pytest.hookimpl(tryfirst=True)
def pytest_cmdline_main(config):
    if config.option.setuponly:
        config.option.setupshow = True


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.44 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.42 AM
root / linksafe
0755
_code
--
25 Jul 2024 8.42 AM
root / linksafe
0755
assertion
--
25 Jul 2024 8.42 AM
root / linksafe
0755
vendored_packages
--
25 Jul 2024 8.42 AM
root / linksafe
0755
__init__.py
0.023 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
_argcomplete.py
3.539 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
_pluggy.py
0.354 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
cacheprovider.py
8.729 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
capture.py
14.835 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
compat.py
7.12 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
config.py
51.032 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
debugging.py
4.01 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
deprecated.py
0.961 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
doctest.py
11.651 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
fixtures.py
43.92 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
freeze_support.py
1.173 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
helpconfig.py
5.165 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
hookspec.py
11.802 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
junitxml.py
13.287 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
main.py
27.104 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
mark.py
11.425 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
monkeypatch.py
8.755 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
nose.py
2.468 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
pastebin.py
3.407 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
pytester.py
38.625 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
python.py
59.556 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
recwarn.py
7.43 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
resultlog.py
3.551 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
runner.py
18.656 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
setuponly.py
2.436 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
setupplan.py
0.732 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
skipping.py
13.354 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
terminal.py
21.559 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
tmpdir.py
4.028 KB
3 Dec 2019 6.36 PM
root / linksafe
0644
unittest.py
8.251 KB
3 Dec 2019 6.36 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF