manager code
This commit is contained in:
1 parent
8adb86b2ec
commit
ef5715ea6c
9 files changed
+66
-35
No files matched your search
@@ -221,21 +221,6 @@ class parser_tests(TestCase):
|
||||
for expected, parsed in zip(expected_process, _parse_actions(raw_conditions)):
|
||||
self.assertEqual(parsed, expected)
|
||||
|
||||
# def test_finding_with_AutomationLoader(self):
|
||||
# automation_loader = AutomationLoader(load_hass_config(SAMPLE_HA_PATH))
|
||||
|
||||
# first_auto_with_find = list(automation_loader.find(limit=1))
|
||||
# first_auto_with_get = automation_loader.get(0)
|
||||
# self.assertEqual(first_auto_with_find[0], first_auto_with_get)
|
||||
|
||||
# kitchen_autos = list(automation_loader.find(alias="kitchen"))
|
||||
# self.assertTrue(len(kitchen_autos), 3)
|
||||
|
||||
# self.assertIsNone(automation_loader.get(-1))
|
||||
# self.assertIsNone(automation_loader.get(1_000))
|
||||
# self.assertIsNone(automation_loader.get(31))
|
||||
# self.assertEqual(len(automation_loader), 31)
|
||||
|
||||
# def test_invalid_automations(self):
|
||||
# with self.assertRaises(AutomationLoaderException):
|
||||
# AutomationLoader(
|
||||
|
||||
Reference in new issue
Block a user