#NEWLINE# def test_iterate_marked_updated( cfg ) : #NEWLINE# #INDENT# modified = { 'b' , 'c' , 'c.cC.cC1' } #NEWLINE# assert ( list ( _iterate_marked ( modified , ConfigSummary ( modified = modified ) ) ) == [ ( 'a' , ConfigEntry ( 'a' , 0 , False , False , None ) ) , ( 'b' , ConfigEntry ( 'b' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , False , True , None ) ) , ( 'c' , PathEntry ( 'c' , False , True , None ) ) , ( 'c.cA' , ConfigEntry ( 'cA' , 3 , False , False , None ) ) , ( 'c.cB' , ConfigEntry ( 'cB' , 4 , False , False , None ) ) , ( 'c.cC' , PathEntry ( 'cC' , False , True , None ) ) , ( 'c.cC.cC1' , ConfigEntry ( 'cC1' , 6 , False , True , None ) ) , ( 'd' , PathEntry ( 'd' , False , False , None ) ) , ( 'd.dA' , ConfigEntry ( 'dA' , 8 , False , False , None ) ) ] )