

def _test_upgrade_conflicts_with_delta(self, mode):
    with testlib_api.ExpectedException(SystemExit):
        self._main_test_helper(['prog', 'upgrade', ('--%s +3' % mode)], 'upgrade')

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