#NEWLINE# @ run_only_if_assertSequenceEqual_is_available #NEWLINE# def test_sep( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'a' : 1 , #NEWLINE# 'b' : 2 , #NEWLINE# #UNINDENT# } #NEWLINE# expected = [ ( 'Z:a' , 1 ) , ( 'Z:b' , 2 ) ] #NEWLINE# actual = list ( ceph . flatten_dictionary ( data , prefix = 'Z' , sep = ':' ) ) #NEWLINE# self . assertSequenceEqual ( actual , expected )