def test_first_id(self): """first_id should return first id from list""" ids = \ "R27DLI_4812 R27DLI_600 R27DLI_727 U1PLI_403 U1PLI_8969".split( ) self.assertEqual(first_id(ids, {}), 'R27DLI_4812')