From: 
Subject: Debian changes

The Debian packaging of python-libsoundtouch is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/python-libsoundtouch
    % cd python-libsoundtouch
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone python-libsoundtouch`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/tests/test_libsoundtouch.py b/tests/test_libsoundtouch.py
index d326bb9..7e17808 100644
--- a/tests/test_libsoundtouch.py
+++ b/tests/test_libsoundtouch.py
@@ -17,6 +17,7 @@ except ImportError:
     from unittest.mock import Mock
 
 from xml.dom import minidom
+from xml.etree import ElementTree as ET
 from requests.models import Response
 import zeroconf
 
@@ -468,12 +469,18 @@ def _mocked_select_aux(*args, **kwargs):
 
 
 def _mocked_select_content_item(*args, **kwargs):
-    if args[0] != "http://192.168.1.1:8090/select" or args[1] not in [
-        '<ContentItem location="spotify:artist:2ye2Wgw4gimLv2eAKyk1NB" '
-        'source="SPOTIFY" '
-        'sourceAccount="spotify_account" type="uri" />'
-    ]:
-        raise Exception("Unknown call")
+    assert args[0] == "http://192.168.1.1:8090/select"
+    # XML attribute order is not significant.
+    content = ET.fromstring(args[1])
+    assert content.tag == "ContentItem"
+    assert content.attrib == {
+        "location": "spotify:artist:2ye2Wgw4gimLv2eAKyk1NB",
+        "source": "SPOTIFY",
+        "sourceAccount": "spotify_account",
+        "type": "uri",
+    }
+    assert len(content) == 0
+    assert not content.text
 
 
 class TestLibSoundTouch(unittest.TestCase):
