Default config dir is now working_dir/config

This commit is contained in:
Paulus Schoutsen committed 2014-11-25 23:15:18 -08:00
1 parent cda04b7ece
commit 9c4111403e
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -34,9 +34,10 @@ class TestHomeAssistant(unittest.TestCase):
def test_get_config_path(self):
""" Test get_config_path method. """
self.assertEqual(os.getcwd(), self.hass.config_dir)
self.assertEqual(os.path.join(os.getcwd(), "config"),
self.hass.config_dir)
self.assertEqual(os.path.join(os.getcwd(), "test.conf"),
self.assertEqual(os.path.join(os.getcwd(), "config", "test.conf"),
self.hass.get_config_path("test.conf"))
def test_block_till_stoped(self):