'Test the setup with incomplete configuration.'

@mock.patch.object(uvc, 'UnifiVideoCamera')
def test_setup_incomplete_config(self, mock_uvc):

    assert setup_component(self.hass, 'camera', {'platform': 'uvc', 'nvr': 'foo'})
    assert (not mock_uvc.called)
    assert setup_component(self.hass, 'camera', {'platform': 'uvc', 'key': 'secret'})
    assert (not mock_uvc.called)
    assert setup_component(self.hass, 'camera', {'platform': 'uvc', 'port': 'invalid'})
    assert (not mock_uvc.called)
