@mock.patch.object(trovebox.Trovebox, 'get')
    def test_zero_rows(self, mock_get):
        mock_get.return_value = self._return_value([{"totalRows": 0}])
        result = self.client.albums.list(foo="bar")
        mock_get.assert_called_with("/albums/list.json", foo="bar")
        self.assertEqual(result, [])
Common setup for WeMo devices.
dataset/ETHPy150Open photo/openphoto-python/tests/unit/test_albums.py/TestAlbumsList.test_zero_rows--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/wemo.py/setup