def create_context(options=None, passthru_args=None, target_roots=None, build_graph=None, build_file_parser=None, address_mapper=None, console_outstream=None, workspace=None):
 options = create_options((options or {}), passthru_args=passthru_args)
 run_tracker = TestContext.DummyRunTracker()
 target_roots = (maybe_list(target_roots, Target) if target_roots else [])
 return TestContext(options=options, run_tracker=run_tracker, target_roots=target_roots, build_graph=build_graph, build_file_parser=build_file_parser, address_mapper=address_mapper, console_outstream=console_outstream, workspace=workspace)

def create_context ( options = None , passthru_args = None , target_roots = None , build_graph = None , build_file_parser = None , address_mapper = None , console_outstream = None , workspace = None ) : options = create_options ( ( options or { } ) , passthru_args = passthru_args ) run_tracker = TestContext . DummyRunTracker ( ) target_roots = ( maybe_list ( target_roots , Target ) if target_roots else [ ] ) return TestContext ( options = options , run_tracker = run_tracker , target_roots = target_roots , build_graph = build_graph , build_file_parser = build_file_parser , address_mapper = address_mapper , console_outstream = console_outstream , workspace = workspace )
creates a context with no options or targets by default .