mirror of
https://github.com/ceph/ceph
synced 2025-01-13 06:22:51 +00:00
15 lines
492 B
Python
15 lines
492 B
Python
from .. import config
|
|
|
|
|
|
class TestConfig(object):
|
|
def test_get_ceph_git_base_default(self):
|
|
conf_obj = config.Config()
|
|
conf_obj.teuthology_yaml = ''
|
|
conf_obj.load_files()
|
|
assert conf_obj.ceph_git_base_url == "https://github.com/ceph/"
|
|
|
|
def test_set_ceph_git_base_via_private(self):
|
|
conf_obj = config.Config()
|
|
conf_obj._Config__conf['ceph_git_base_url'] = "git://ceph.com/"
|
|
assert conf_obj.ceph_git_base_url == "git://ceph.com/"
|