def test_getPublishers_stripped(self, mocker): outPublisher = KMeansManager.getPublishers(['Test Second [].||viaf|']) assert outPublisher == 'test second'
def test_getPublishers_none(self, mocker): outPublisher = KMeansManager.getPublishers(None) assert outPublisher == ''
def test_getPublishers_clean(self, mocker): outPublisher = KMeansManager.getPublishers(['Test|||', 'Other|||']) assert outPublisher == 'test, other'