Rename config.get_config_path to config.path
This commit is contained in:
1 parent
9b643d57f0
commit
7a7f486cb2
11 files changed
+24
-21
No files matched your search
+2
-2
@@ -35,10 +35,10 @@ class TestHomeAssistant(unittest.TestCase):
|
||||
def test_get_config_path(self):
|
||||
""" Test get_config_path method. """
|
||||
self.assertEqual(os.path.join(os.getcwd(), "config"),
|
||||
self.hass.config_dir)
|
||||
self.hass.config.config_dir)
|
||||
|
||||
self.assertEqual(os.path.join(os.getcwd(), "config", "test.conf"),
|
||||
self.hass.get_config_path("test.conf"))
|
||||
self.hass.config.path("test.conf"))
|
||||
|
||||
def test_block_till_stoped(self):
|
||||
""" Test if we can block till stop service is called. """
|
||||
|
||||
Reference in new issue
Block a user