home
/
dev
/
repositories
/
python-musicpd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dace01
)
More Range object test coverage
dev
author
Kaliko Jack <kaliko@azylum.org>
Sun, 30 Mar 2025 09:21:14 +0000
(11:21 +0200)
committer
Kaliko Jack <kaliko@azylum.org>
Sun, 30 Mar 2025 09:21:14 +0000
(11:21 +0200)
test.py
patch
|
blob
|
history
diff --git
a/test.py
b/test.py
index 299b54a85669c4fa6574d911e90da45ac3cee304..4baaf3619b4837aeb7c1ad3714d1e7e4c2386033 100755
(executable)
--- 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__':