log = logging.getLogger(__name__)
def get_upgrade_version(ctx, config, remote):
- gitbuilder = _get_gitbuilder_project(ctx, remote, config)
- version = gitbuilder.version
+ builder = _get_builder_project(ctx, remote, config)
+ version = builder.version
return version
def verify_package_version(ctx, config, remote):
m_get_package_version.return_value = "11.0.0"
install.get_upgrade_version(Mock(), Mock(), Mock())
- @patch("teuthology.task.install._get_gitbuilder_project")
+ @patch("teuthology.task.install._get_builder_project")
@patch("teuthology.task.install.packaging.get_package_version")
def test_verify_ceph_version_success(self, m_get_package_version,
m_gitbuilder_project):