Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/testing/mozbase/mozinstall/tests/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 828 B image not shown  

Quelle  conftest.py

  Sprache: Python
 

import shutil

import pytest


@pytest.fixture
def get_installer(request, tmpdir):
    def _get_installer(extension):
        """Get path to the installer for the specified extension.

        We had to remove firefox.exe since it is not valid for mozinstall 1.12 and higher
        Bug 1157352 - We should grab a firefox.exe from the build process or download it
        """
        stub_dir = request.node.fspath.dirpath("installer_stubs")
        installer_path = stub_dir.join(f"firefox.{extension}").strpath

        # For DMG files, create a unique copy to avoid contention between tests
        if extension == "dmg":
            dmg_path = tmpdir.join(f"firefox.{extension}").strpath
            shutil.copy(installer_path, dmg_path)
            return dmg_path

        return installer_path

    return _get_installer

Messung V0.5 in Prozent
C=85 H=88 G=86

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.