def main(): formatter = ProgressFormatter(sys.stdout) reporter = Reporter(formatter) runner = Runner(reporter) suite = ExampleSuite.get_suite() return runner.run(suite, sys.argv[1])
def _get_current_example_group(): return ExampleSuite.get_suite().get_current_example_group()
def s(w): ExampleSuite.set_suite(w.suite) assert ExampleSuite.get_suite() is w.suite
def s(w): assert type(ExampleSuite.get_suite()) is ExampleSuite assert ExampleSuite.get_suite() is ExampleSuite.get_suite()