class documentation
class TestCommandSpec: (source)
Undocumented
Method | test |
Show how a custom CommandSpec could be used to specify a #! executable which takes parameters. |
Method | test |
Undocumented |
Method | test_from_param_for_ |
from_param should return an instance of a CommandSpec |
Method | test |
In order to support `executable = /usr/bin/env my-python`, make sure from_param invokes shlex on that input. |
@mock.patch( 'sys.executable', TestScriptHeader.exe_with_spaces)
@mock.patch.dict( os.environ)
def test_from_environment_with_spaces_in_executable(self): (source) ¶
@mock.patch.dict(
def test_from_environment_with_spaces_in_executable(self): (source) ¶
Undocumented