@mock.patch.object(trovebox.Trovebox, 'post')
    def test_album_delete_id(self, mock_post):
        mock_post.return_value = self._return_value(True)
        result = self.client.album.delete("1", foo="bar")
        mock_post.assert_called_with("/album/1/delete.json", foo="bar")
        self.assertEqual(result, True)
Turns debug output on/off.
dataset/ETHPy150Open photo/openphoto-python/tests/unit/test_albums.py/TestAlbumDelete.test_album_delete_id--crossover with--dataset/ETHPy150Open philipbergen/zero/py/zero/__init__.py/ZeroSetup.debugging