Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add command to retrieve list of composite modes
- Loading branch information
1 parent
c982518
commit 803ece9
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from lib.response import OkResponse | ||
from tests.commands.commands_test_base import CommandsTestBase | ||
|
||
|
||
class GetCompositeModesTest(CommandsTestBase): | ||
def test_get_composite_modes(self): | ||
response = self.commands.get_composite_modes() | ||
|
||
self.assertIsInstance(response, OkResponse) | ||
self.assertEqual(response.args, ( | ||
'composite_modes', | ||
'fullscreen,side_by_side_equal,side_by_side_preview,picture_in_picture' | ||
)) |