

def test__compare_labels_fail_unexpected_labels(self):
    labels = {'label1', 'label2', 'label3'}
    fake_revision = FakeRevision(labels)
    self.assertRaises(SystemExit, cli._compare_labels, fake_revision, {'label1', 'label2'})

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_migration.py TestCli.test__compare_labels_fail_unexpected_labels/original