michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: michael@0: def xulrunner_app_runner_doctests(): michael@0: """ michael@0: >>> import sys michael@0: >>> from cuddlefish import runner michael@0: >>> runner.XulrunnerAppRunner(binary='foo') michael@0: Traceback (most recent call last): michael@0: ... michael@0: Exception: Binary path does not exist foo michael@0: michael@0: >>> runner.XulrunnerAppRunner(binary=sys.executable) michael@0: Traceback (most recent call last): michael@0: ... michael@0: ValueError: application.ini not found in cmdargs michael@0: michael@0: >>> runner.XulrunnerAppRunner(binary=sys.executable, michael@0: ... cmdargs=['application.ini']) michael@0: Traceback (most recent call last): michael@0: ... michael@0: ValueError: file does not exist: 'application.ini' michael@0: """ michael@0: michael@0: pass