From 4043c7d72cd15c50763c40e4e3669c7967bc8a3d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 24 Sep 2013 10:09:04 -0500 Subject: [PATCH] Split test into two --- teuthology/test/test_config.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/teuthology/test/test_config.py b/teuthology/test/test_config.py index 5742c58b1..7493155dc 100644 --- a/teuthology/test/test_config.py +++ b/teuthology/test/test_config.py @@ -2,16 +2,13 @@ from .. import config class TestConfig(object): - def setup(self): - pass - - def teardown(self): - pass - - def test_get_and_set(self): + 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/" -- 2.47.3