From: Kaliko Jack Date: Sun, 30 Mar 2025 09:21:14 +0000 (+0200) Subject: More Range object test coverage X-Git-Url: http://git.kaliko.me/?a=commitdiff_plain;h=2e4b9ea77e31d608cb0d032e96fbb221d9b763d6;p=python-musicpd.git More Range object test coverage --- diff --git a/test.py b/test.py index 299b54a..4baaf36 100755 --- a/test.py +++ b/test.py @@ -728,8 +728,11 @@ class testRange(unittest.TestCase): # CommandError: Wrong range: 42 > 41 musicpd.Range(('42',41)) with self.assertRaises(musicpd.CommandError): - # CommandError: Wrong range: 42 > 41 + # CommandError: Wrong range dimension musicpd.Range(('42','42','42')) + with self.assertRaises(musicpd.CommandError): + # CommandError: Wrong type, not a tuple + musicpd.Range(['42', '43']) if __name__ == '__main__':