#NEWLINE# def test_freeze_config( self ) : #NEWLINE# #INDENT# sconfig = kaptan . Kaptan ( handler = 'yaml' ) #NEWLINE# sconfig = sconfig . import_config ( self . yaml_config ) . get ( ) #NEWLINE# builder = WorkspaceBuilder ( sconf = sconfig ) #NEWLINE# builder . build ( session = self . session ) #NEWLINE# assert ( self . session == builder . session ) #NEWLINE# time . sleep ( 0.5 ) #NEWLINE# session = self . session #NEWLINE# sconf = freeze ( session ) #NEWLINE# config . validate_schema ( sconf ) #NEWLINE# sconf = config . inline ( sconf ) #NEWLINE# kaptanconf = kaptan . Kaptan ( ) #NEWLINE# kaptanconf = kaptanconf . import_config ( sconf ) #NEWLINE# json = kaptanconf . export ( 'json' , indent = 2 ) #NEWLINE# yaml = kaptanconf . export ( 'yaml' , indent = 2 , default_flow_style = False , safe = True )