Allow both VOLUME_STEP and VOLUME_SET (#20732)

* Allow both VOLUME_STEP and VOLUME_SET

Seems like it should be possible to support both at the same time.

* Update test to allow VOLUME_SET and VOLUME_STEP
This commit is contained in:
Greg Johnson authored and Paulus Schoutsen committed 2019-02-06 11:16:21 -08:00
1 parent 59393ab085
commit fb1da53568
2 files changed
+3 -3

No files matched your search

@@ -584,7 +584,8 @@ class TestMediaPlayer(unittest.TestCase):
check_flags = universal.SUPPORT_TURN_ON | universal.SUPPORT_TURN_OFF \
| universal.SUPPORT_VOLUME_STEP | universal.SUPPORT_VOLUME_MUTE \
| universal.SUPPORT_SELECT_SOURCE | universal.SUPPORT_SHUFFLE_SET
| universal.SUPPORT_SELECT_SOURCE | universal.SUPPORT_SHUFFLE_SET \
| universal.SUPPORT_VOLUME_SET
assert check_flags == ump.supported_features