#NEWLINE# def test_it_adds_a_comma_if_container_is_a_single_item_tuple( self ) : #NEWLINE# #INDENT# items = [ 'foo' ] #NEWLINE# self . is_tuple . return_value = True #NEWLINE# self . assertEqual ( condent . items ( self . start , self . left_delimiter , items ) , 'foo,' ) #NEWLINE# self . is_tuple . assert_called_once_with ( self . start , self . left_delimiter )