# 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 datetime import datetime from pathlib import Path
import mozunit
from mozversioncontrol import get_repository_object
# Verify only the intended file was added to the commit
patch = vcs._run(*patch_cmd)
diffs = [line for line in patch.splitlines() if"diff --git"in line] assert len(diffs) == 1 assert diffs[0] == "diff --git a/bar b/bar"
if __name__ == "__main__":
mozunit.main()
¤ Dauer der Verarbeitung: 0.18 Sekunden
(vorverarbeitet)
¤
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 ist noch experimentell.