'Assert that all labels match texts.'

def assert_labels(self, texts):

    labels = self.get_labels()
    for text in texts:
        self.case.assertIn(text, labels)
    self.case.assertEquals(len(texts), len(labels))
