sample_python_support.py (466B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 from base_python_support import BasePythonSupport 6 7 8 class SamplePythonSupport(BasePythonSupport): 9 def modify_command(self, cmd, test): 10 for i, entry in enumerate(cmd): 11 if "{replace-with-constant-value}" in entry: 12 cmd[i] = "25"