def test_schema_invalid(conf): """Make sure we don't accept number for 'at' value.""" with pytest.raises(vol.Invalid): time.TRIGGER_SCHEMA(conf)
def test_schema_valid(conf): """Make sure we don't accept number for 'at' value.""" time.TRIGGER_SCHEMA(conf)