]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
install: s/_get_gitbuilder_project/_get_gitbuilder_project/g 1087/head
authorNathan Cutler <ncutler@suse.com>
Tue, 27 Jun 2017 21:09:43 +0000 (23:09 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Jun 2017 21:09:43 +0000 (23:09 +0200)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
teuthology/task/install/__init__.py
teuthology/test/task/test_install.py

index 5e920bc260221c183aa46c19328d5b8f6dfae8bb..389a58c2673b1fe67d4d3fc7ff52b1a3a332e71c 100644 (file)
@@ -21,8 +21,8 @@ from . import rpm, deb, redhat
 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):
index edc420e4150fc140d9d837acf3c4c551c37a67af..9111dcaf5fc174bb975696e488c167235213bb6e 100644 (file)
@@ -57,7 +57,7 @@ class TestInstall(object):
         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):