Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A 
    >>> ExecutingSnippetAfterAllScenarios.run()
    True
    >>> print output.getvalue()
    Story: Executing snippet after all scenarios
      As a smart dev
      I want to execute some snippet after scenarios
      So that I can clean the env created by before_steps
    <BLANKLINE>
      Scenario 1: Scenario change name
        Given My name is Gabriel   ... OK
        When I change my name to Joao   ... OK
        Then My name is Joao   ... OK
    <BLANKLINE>
      Ran 1 scenario with 0 failures, 0 errors and 0 pending steps
    <BLANKLINE>
    >>> ExecutingSnippetAfterEachScenario.run()
    True
    >>> print output2.getvalue()
    Story: Executing snippet after each scenario
      As a smart dev
      I want to execute some snippet after each scenario
      So that I can clean the env created by before_steps
    <BLANKLINE>
      Scenario 1: Scenario only to change name
        When I change my name to Joao   ... OK
    <BLANKLINE>
      Ran 1 scenario with 0 failures, 0 errors and 0 pending steps
    <BLANKLINE>
 pyhistorian * should_dsl * cStringIO StringIO N/A output N/A StringIO N/A output2 N/A StringIO ScenarioChangeName N/A Scenario N/A name_equal_gabriel N/A N/A self N/A N/A N/A N/A N/A N/A self name N/A should_be equal_to Gabriel N/A N/A Given My name is Gabriel change_name_to_joao N/A N/A self N/A N/A N/A N/A self name Joao N/A N/A When I change my name to Joao check_for_hugo N/A N/A self N/A N/A N/A N/A N/A N/A self name N/A should_be equal_to Joao N/A N/A Then My name is Joao N/A ExecutingSnippetAfterAllScenarios N/A Story N/A N/A 
      As a smart dev
      I want to execute some snippet after scenarios
      So that I can clean the env created by before_steps
     N/A output output N/A colored False N/A scenarios N/A ScenarioChangeName before_all N/A N/A self context N/A N/A N/A N/A context name Gabriel N/A after_all N/A N/A self context N/A N/A N/A N/A N/A N/A context name N/A should_be equal_to Joao N/A N/A ScenarioOnlyToChangeName N/A Scenario N/A change_name_to_joao N/A N/A self N/A N/A N/A N/A N/A N/A self name N/A should_be equal_to Gabriel N/A N/A self name Joao N/A N/A When I change my name to Joao N/A ExecutingSnippetAfterEachScenario N/A Story N/A N/A 
      As a smart dev
      I want to execute some snippet after each scenario
      So that I can clean the env created by before_steps
     N/A output output2 N/A colored False N/A scenarios N/A ScenarioOnlyToChangeName before_each N/A N/A self context N/A N/A N/A N/A context name Gabriel N/A after_each N/A N/A self context N/A N/A N/A N/A N/A N/A context name N/A should_be equal_to Joao N/A N/A