'Test the setup with bad configuration.'

def test_setup_bad_config(self):

    bad_configs = [{'exclude_zones': ['a']}, {'zone_types': {'a': 'b'}}, {'zone_types': {1: 'notatype'}}, {'zone_types': {'notazone': 'motion'}}]
    for config in bad_configs:
        self._test_assert_graceful_fail(config)
