]> kaliko git repositories - python-musicpdaio.git/commitdiff
Improve documentation main
authorkaliko <kaliko@azylum.org>
Sun, 1 Sep 2024 17:58:16 +0000 (19:58 +0200)
committerkaliko <kaliko@azylum.org>
Sun, 1 Sep 2024 17:58:16 +0000 (19:58 +0200)
doc/source/development.rst
mpdaio/client.py

index a8d8c2932441c3ff7ac06fa96aec86586f8efc82..8c44bcd8433bd6e2a47895f018712bd34b2e440d 100644 (file)
@@ -1,4 +1,9 @@
-Developement
-============
+Development
+===========
 
 Developement is done at the `codeberg forge`_.
+
+Running test
+^^^^^^^^^^^^
+
+`python3 -m unittest discover -s tests`
index 9b53d6eeb38a905e758e077eea89dffe2700c354..3898fa5d921f7584be2f22354958619cddcc19de 100644 (file)
@@ -110,7 +110,7 @@ class MPDClient:
 
     @property
     def version(self) -> str:
-        """MPD protocol version
+        """MPD protocol version (returns an empty string if there is no opened connection)
         """
         host = (self.host, self.port)
         version = {_.version for _ in self.connections}