#NEWLINE# def run_load_fabfile( path , sys_path ) : #NEWLINE# #INDENT# fake_module = Fake ( ) . has_attr ( __dict__ = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# importer = Fake ( callable = True ) . returns ( fake_module ) #NEWLINE# orig_path = copy . copy ( sys . path ) #NEWLINE# sys . path = sys_path #NEWLINE# load_fabfile ( path , importer = importer ) #NEWLINE# eq_ ( sys . path , sys_path ) #NEWLINE# sys . path = orig_path