Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  test_python_sites.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/.

import mozunit

LINTER = "python-sites"


def test_lint_python_sites(lint, paths):
    results = lint(paths())
    assert len(results) == 3

    for r in results:
        assert "bad/test.txt" in r.relpath
        assert r.level == "error"
        assert r.lineno == 1

    expected_messages = [
        "After 'requires-python:', entries must be in alphabetical order.",
        "First line must start with 'requires-python:'.",
        "Specification of 'vendored:third_party/python/blessed' is redundant; already in",
    ]
    actual_messages = [r.message for r in results]

    missing = [
        msg
        for msg in expected_messages
        if not any(msg in actual for actual in actual_messages)
    ]
    assert not missing, f"Missing expected message(s): {missing}"


if __name__ == "__main__":
    mozunit.main()

Messung V0.5 in Prozent
C=95 H=97 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=434850
#Domains=655579