#NEWLINE# def test_counter_default_prefix( self ) : #NEWLINE# #INDENT# expected = 'ceph.osd.325' #NEWLINE# sock = '/var/run/ceph/ceph-osd.325.asok' #NEWLINE# actual = self . collector . _get_counter_prefix_from_socket_name ( sock ) #NEWLINE# self . assertEquals ( sock , expected )