#NEWLINE# def test_manipulator_get_dock_json( self ) : #NEWLINE# #INDENT# build_json = copy . deepcopy ( TEST_BUILD_JSON ) #NEWLINE# env_json = build_json [ 'spec' ] [ 'strategy' ] [ 'customStrategy' ] [ 'env' ] #NEWLINE# p = [ env for env in env_json if ( env [ 'name' ] == 'ATOMIC_REACTOR_PLUGINS' ) ] #NEWLINE# inner = { #NEWLINE# #INDENT# 'a' : 'b' , #NEWLINE# #UNINDENT# } #NEWLINE# p [ 0 ] [ 'value' ] = json . dumps ( inner ) #NEWLINE# m = DockJsonManipulator ( build_json , None ) #NEWLINE# response = m . get_dock_json ( ) #NEWLINE# assert ( response [ 'a' ] == inner [ 'a' ] )