

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

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