#!/usr/bin/env 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
def test_wait_while_running(runner): """Wait for the process while it is running"""
runner.start()
returncode = runner.wait(1)
def test_wait_after_process_finished(runner): """Bug 965714: wait() after stop should not raise an error"""
runner.start()
runner.process_handler.kill()
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.