Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/python/mach/mach/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 830 B image not shown  

Quelle  test_definitions.py

  Sprache: Python
 

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from pathlib import Path

from mozunit import main

from mach.test.conftest import TestBase


class TestConditions(TestBase):
    """Tests for definitions provided to the @Command decorator."""

    def _run(self, args):
        return self._run_mach(args, Path("definitions.py"))

    def test_help_message(self):
        """Test that commands that are hidden do not show up in help."""

        result, stdout, stderr = self._run(["help"])
        self.assertIn("cmd_default_visible", stdout)
        self.assertIn("cmd_not_hidden", stdout)
        self.assertNotIn("cmd_hidden", stdout)


if __name__ == "__main__":
    main()

Messung V0.5 in Prozent
C=90 H=100 G=95

¤ Dauer der Verarbeitung: 0.14 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.