'Test setup with resource missing schema.'

def test_setup_missing_schema(self):

    assert (not run_coroutine_threadsafe(rest.async_setup_platform(self.hass, {'platform': 'rest', 'resource': 'localhost'}, None), self.hass.loop).result())
