]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Properly ignore site-specific lab_domain in tests
authorZack Cerza <zack@redhat.com>
Wed, 17 Dec 2014 00:11:55 +0000 (17:11 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 17 Dec 2014 00:16:04 +0000 (17:16 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/test/test_misc.py

index 504912c56aa4665522b1f1f192dcfb7a8cb639cf..ce832abee262ba27b66a2d8be623bc1b4cf5e664 100644 (file)
@@ -56,10 +56,10 @@ def test_get_http_log_path():
 
 class TestHostnames(object):
     def setup(self):
-        self.old_lab_domain = config.lab_domain
+        config._conf = dict()
 
     def teardown(self):
-        config.lab_domain = self.old_lab_domain
+        config.load()
 
     def test_canonicalize_hostname(self):
         host_base = 'box1'