def _test_upgrade_conflicts_with_revision(self, mode):
        with testlib_api.ExpectedException(SystemExit):
            self._main_test_helper(
                ['prog', 'upgrade', '--%s revision1' % mode], 'upgrade')
dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_migration.py/TestCli._test_upgrade_conflicts_with_revision/original