[lang-ref] ( get_executed_command_path ) ( python )
def test_get_executed_command_path():
# sys.argv[0]
executed_command_path = sys.argv[0]
assert executed_command_path.endswith('/bin/pytest')
def test_get_executed_command_path():
# sys.argv[0]
executed_command_path = sys.argv[0]
assert executed_command_path.endswith('/bin/pytest')