Module ImportFrom alias ImportFrom alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list With Call NameLoad Str body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Str With Call NameLoad Str body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assert AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assert AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str With Call NameLoad Str body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str With Call NameLoad Str body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr decorator_list Call NameLoad Str
N/A rgf.dsl * rgf.core.examples ExampleGroup ExampleSuite Example ExampleContext MockExampleSuite N/A object N/A set_current_example_group N/A N/A self example_group N/A N/A N/A N/A self example_group_set example_group N/A pop_current_example_group N/A N/A self N/A N/A N/A N/A self example_group_popped True N/A run_before_each N/A N/A self world N/A N/A N/A N/A N/A MockReporter N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self examples_ran N/A N/A example_ran N/A N/A self N/A args N/A N/A N/A N/A N/A self examples_ran append args N/A run_finished N/A N/A self N/A N/A N/A N/A self run_finished_was_called True N/A N/A MockExampleContext N/A object N/A N/A N/A mock_world_factory N/A N/A container N/A N/A returner N/A N/A N/A N/A N/A world N/A MockExampleContext N/A N/A N/A container append world N/A world N/A N/A returner N/A first_test_function N/A N/A world N/A N/A N/A N/A world has_been_run True N/A failing_test_function N/A N/A world N/A N/A N/A False N/A before_func N/A N/A world N/A N/A N/A N/A world before_was_run True N/A N/A N/A subject ExampleGroup N/A b N/A N/A w N/A N/A N/A N/A w example_suite N/A ExampleSuite N/A N/A w eg N/A ExampleGroup N/A w example_suite A group of Examples N/A N/A N/A N/A w eg add_example N/A Example All good first_test_function N/A N/A N/A N/A w eg add_example N/A Example Still good first_test_function N/A before spec N/A N/A w N/A N/A N/A N/A N/A N/A w eg description A group of Examples N/A N/A it can be created and described s N/A N/A w N/A N/A N/A example N/A Example An example first_test_function N/A N/A N/A N/A w eg add_example example N/A N/A example N/A N/A w eg examples N/A N/A it can create a new Example spec N/A N/A w N/A N/A N/A N/A N/A N/A w eg world_factory ExampleContext N/A N/A it defaults to ExampleContext for its world-factory N/A N/A subject running Examples N/A b N/A N/A w N/A N/A N/A N/A w worlds N/A N/A N/A N/A w eg world_factory N/A mock_world_factory N/A w worlds N/A before spec N/A N/A w N/A N/A N/A N/A N/A N/A w eg run N/A MockReporter N/A N/A N/A N/A w worlds N/A 0 has_been_run N/A N/A N/A N/A w worlds N/A 1 has_been_run N/A N/A it runs all its examples s N/A N/A w N/A N/A N/A N/A N/A N/A w eg run N/A MockReporter N/A N/A N/A len N/A w worlds 2 N/A N/A N/A N/A w worlds N/A 0 N/A N/A w worlds N/A 1 N/A N/A it creates isolated contexts for each Example when run spec N/A N/A w N/A N/A N/A N/A N/A N/A w eg before before_func N/A N/A N/A N/A w eg run N/A MockReporter N/A N/A N/A N/A w worlds N/A 0 before_was_run N/A N/A N/A N/A w worlds N/A 1 before_was_run N/A N/A it can add setup code to be run before examples spec N/A N/A w N/A N/A N/A N/A N/A N/A N/A w eg run N/A MockReporter True N/A N/A it returns True if all Examples success spec N/A N/A w N/A N/A N/A N/A N/A N/A w eg add_example N/A Example Not good failing_test_function N/A N/A N/A N/A N/A w eg run N/A MockReporter False N/A N/A it returns False if any Examples fail s N/A N/A w N/A N/A N/A decorator N/A N/A N/A w eg it Example description created by it() N/A example N/A decorator first_test_function N/A N/A N/A example description Example description created by it() N/A N/A example N/A N/A w eg examples N/A N/A it can generate a decorator around a new Example N/A N/A subject context manager API N/A b N/A N/A w N/A N/A N/A N/A w example_suite N/A ExampleSuite N/A before s N/A N/A w N/A N/A N/A example_group N/A ExampleGroup N/A w example_suite __enter__ group N/A N/A N/A N/A example_group __enter__ example_group N/A N/A N/A N/A N/A w example_suite get_current_example_group example_group N/A N/A it sets itself as the current example group in the suite on __enter__() s N/A N/A w N/A N/A N/A example_group N/A ExampleGroup N/A w example_suite __exit__ group N/A N/A N/A N/A w example_suite set_current_example_group example_group N/A N/A N/A example_group __exit__ None None None N/A N/A N/A N/A N/A w example_suite get_current_example_group N/A w example_suite N/A N/A it removes itself as the current example group on __exit__() N/A N/A subject nesting N/A b N/A N/A w N/A N/A N/A N/A w worlds N/A N/A N/A w parent N/A N/A N/A w example_suite add_example_group Parent EG N/A N/A w child N/A N/A N/A w parent add_example_group Child EG N/A N/A N/A w child world_factory N/A mock_world_factory N/A w worlds N/A before s N/A N/A w N/A N/A N/A N/A N/A N/A w parent example_groups N/A N/A w child N/A N/A it allows an ExampleGroup to be added s N/A N/A w N/A N/A f N/A N/A w N/A N/A N/A N/A w has_been_run True N/A N/A N/A N/A w child it succeeds N/A N/A N/A N/A w parent run N/A MockReporter N/A N/A N/A N/A w worlds N/A 0 has_been_run N/A N/A it can run run all its child ExampleGroups s N/A N/A w N/A N/A parent_before N/A N/A w N/A N/A N/A N/A w from_parent 1 N/A N/A N/A w parent before child_before N/A N/A w N/A N/A N/A N/A w from_child N/A 1 N/A w from_parent N/A N/A N/A w child before f N/A N/A w N/A N/A N/A N/A N/A N/A N/A w child it succeeds N/A N/A N/A N/A w parent run N/A MockReporter N/A N/A N/A N/A N/A w worlds N/A 0 from_child 2 N/A N/A N/A N/A N/A w worlds N/A 0 from_parent 1 N/A N/A it runs ancestor's before functions before its own s N/A N/A w N/A N/A N/A mock_example_suite N/A MockExampleSuite N/A example_group N/A ExampleGroup mock_example_suite describe delegation test group N/A N/A N/A example_group set_current_example_group N/A w child N/A N/A N/A mock_example_suite example_group_set N/A w child N/A N/A it delegates set_current_example_group() to its parent for the use of describe s N/A N/A w N/A N/A N/A mock_example_suite N/A MockExampleSuite N/A example_group N/A ExampleGroup mock_example_suite describe delegation test group N/A N/A N/A example_group pop_current_example_group N/A N/A mock_example_suite example_group_popped N/A N/A it delegates pop_current_example_group() to its parent for the use of describe