

@mock.patch.object(cli, '_use_separate_migration_branches')
def test_upgrade_rejects_delta_with_relative_revision(self, use_mock):
    use_mock.assert_command_fails(['prog', 'upgrade', '+2', '--delta', '3'])

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_migration.py TestCli.test_upgrade_rejects_delta_with_relative_revision/VarMisuse@24/42 `self`->`use_mock`