Module Expr Str ImportFrom alias alias alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias If AttributeLoad NameLoad attr body Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str AugAssignAdd NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str kwarg body Expr Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assert CompareNotEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Import alias If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str kwarg body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad BinOpAdd Str NameLoad keyword NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad
N/A N/A 
Provide a behave shell to simplify creation of feature files
and running features, etc.

    context.command_result = behave_shell.behave(cmdline, cwd=context.workdir)
    behave_shell.create_scenario(scenario_text, cwd=context.workdir)
    behave_shell.create_step_definition(context.text, cwd=context.workdir)
    context.command_result = behave_shell.run_feature_with_formatter(
            context.features[0], formatter=formatter, cwd=context.workdir)

 __future__ absolute_import print_function with_statement behave4cmd0.__setup TOP N/A os.path N/A six N/A subprocess N/A sys N/A shlex N/A N/A six PY2 N/A N/A codecs CommandResult N/A object N/A N/A 
    ValueObject to store the results of a subprocess command call.
     __init__ N/A N/A self N/A kwargs N/A N/A N/A self command N/A N/A kwargs pop command None N/A N/A self returncode N/A N/A kwargs pop returncode 0 N/A N/A self stdout N/A N/A kwargs pop stdout N/A N/A self stderr N/A N/A kwargs pop stderr N/A N/A self _output None N/A kwargs N/A N/A names N/A N/A ,  join N/A N/A kwargs keys N/A N/A ValueError N/A Unexpected: %s names N/A output N/A N/A self N/A N/A N/A N/A N/A self _output None N/A N/A output N/A self stdout N/A N/A self stderr N/A N/A N/A self stdout N/A N/A output N/A output N/A self stderr N/A N/A self _output output N/A N/A self _output N/A property failed N/A N/A self N/A N/A N/A N/A N/A self returncode 0 N/A property clear N/A N/A self N/A N/A N/A N/A self command None N/A N/A self returncode 0 N/A N/A self stdout N/A N/A self stderr N/A N/A self _output None N/A N/A Command N/A object N/A N/A 
    Helper class to run commands as subprocess,
    collect their output and subprocess returncode.
     N/A DEBUG False N/A COMMAND_MAP N/A behave N/A N/A N/A os path normpath N/A N/A {0}/bin/behave format TOP N/A PREPROCESSOR_MAP N/A N/A POSTPROCESSOR_MAP N/A N/A USE_SHELL N/A N/A N/A sys platform startswith win preprocess_command N/A N/A preprocessors cmdargs command cwd N/A None . N/A N/A N/A N/A N/A N/A os path isdir cwd N/A N/A cmdargs N/A N/A N/A command N/A N/A command N/A N/A join cmdargs N/A preprocess preprocessors N/A N/A cmdargs N/A preprocess command cmdargs cwd N/A cmdargs N/A staticmethod postprocess_command N/A N/A postprocessors command_result N/A N/A N/A postprocess postprocessors N/A N/A command_result N/A postprocess command_result N/A command_result N/A staticmethod run N/A N/A cls command cwd N/A . kwargs N/A N/A 
        Make a subprocess call, collect its output and returncode.
        Returns CommandResult instance as ValueObject.
         N/A N/A isinstance command N/A six string_types N/A command_result N/A CommandResult N/A N/A command_result command command N/A use_shell N/A cls USE_SHELL N/A N/A shell kwargs N/A N/A use_shell N/A N/A kwargs pop shell N/A N/A N/A six PY2 N/A isinstance command N/A six text_type N/A N/A command N/A N/A codecs encode command utf-8 N/A cmdargs N/A N/A shlex split command N/A command0 N/A cmdargs N/A 0 N/A real_command N/A N/A N/A cls COMMAND_MAP get command0 None N/A real_command N/A N/A cmdargs0 N/A N/A real_command split N/A cmdargs N/A cmdargs0 N/A cmdargs N/A 1 N/A preprocessors N/A N/A N/A cls PREPROCESSOR_MAP get command0 N/A preprocessors N/A N/A cmdargs N/A N/A cls preprocess_command preprocessors cmdargs command cwd N/A N/A N/A process N/A N/A subprocess Popen cmdargs stdout N/A subprocess PIPE stderr N/A subprocess PIPE universal_newlines True shell use_shell cwd cwd kwargs N/A N/A out err N/A N/A process communicate N/A N/A six PY2 N/A N/A default_encoding UTF-8 N/A out N/A N/A six text_type out N/A N/A N/A process stdout encoding default_encoding N/A err N/A N/A six text_type err N/A N/A N/A process stderr encoding default_encoding N/A N/A N/A process poll N/A N/A N/A process returncode None N/A N/A command_result stdout out N/A N/A command_result stderr err N/A N/A command_result returncode N/A process returncode N/A N/A cls DEBUG N/A N/A N/A print N/A N/A shell.cwd={0} format N/A N/A kwargs get cwd None N/A N/A print N/A N/A shell.command: {0} format N/A N/A join cmdargs N/A N/A print N/A N/A shell.command.output:
{0}; format N/A command_result output N/A N/A N/A OSError N/A e N/A N/A N/A command_result stderr N/A OSError: %s e N/A N/A command_result returncode N/A e errno N/A N/A N/A e errno 0 N/A postprocessors N/A N/A N/A cls POSTPROCESSOR_MAP get command0 N/A postprocessors N/A N/A command_result N/A N/A cls postprocess_command postprocessors command_result N/A command_result N/A classmethod N/A path_glob N/A N/A command cmdargs cwd N/A . N/A N/A glob N/A N/A N/A N/A glob has_magic command N/A N/A cmdargs N/A N/A N/A N/A os path isdir cwd N/A N/A N/A current_cwd N/A N/A os getcwd N/A N/A N/A os chdir cwd N/A new_cmdargs N/A N/A cmdarg cmdargs N/A N/A N/A N/A N/A glob has_magic cmdarg N/A N/A N/A N/A new_cmdargs append cmdarg N/A N/A more_args N/A N/A glob glob cmdarg N/A more_args N/A N/A N/A N/A new_cmdargs extend more_args N/A N/A N/A N/A new_cmdargs append cmdarg N/A cmdargs new_cmdargs N/A N/A N/A N/A os chdir current_cwd N/A cmdargs N/A run N/A N/A command cwd N/A . kwargs N/A N/A N/A N/A Command run command cwd cwd kwargs N/A behave N/A N/A cmdline cwd N/A . kwargs N/A N/A 
    Run behave as subprocess command and return process/shell instance
    with results (collected output, returncode).
     N/A N/A isinstance cmdline N/A six string_types N/A N/A run N/A behave  cmdline cwd cwd kwargs N/A N/A N/A __name__ __main__ N/A N/A command N/A N/A join N/A N/A sys argv N/A 1 N/A output N/A N/A Command run N/A N/A sys argv N/A 1 N/A N/A print N/A N/A command: {0}
{1}
 format command output