

@mock.patch.object(cli, '_get_branch_points', return_value=[])
@mock.patch.object(cli.CONF, 'split_branches', new_callable=mock.PropertyMock, return_value=True, create=True)
def test__use_separate_migration_branches_enforced(self, *mocks):
    self.assertTrue(cli._use_separate_migration_branches(self.configs[0]))

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