Skip to content

Commit

Permalink
Added: Typing for xbmcgui.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Mar 23, 2024
1 parent b4923f3 commit 92dc3e3
Show file tree
Hide file tree
Showing 2 changed files with 347 additions and 334 deletions.
4 changes: 2 additions & 2 deletions tests/test_xbmcgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_dialog_browse_multiple(self):

dlg = xbmcgui.Dialog()
value = dlg.browseMultiple(0, 'Heading', shares='local', defaultt=default_filename)
self.assertEqual((default_filename,), value)
self.assertListEqual([default_filename], value)

entered_filename = '/tmp/entered'
kb = xbmc.Keyboard()
Expand All @@ -68,7 +68,7 @@ def test_dialog_browse_multiple(self):

dlg = xbmcgui.Dialog()
value = dlg.browseMultiple(0, 'Heading', shares='local', defaultt=default_filename)
self.assertEqual((entered_filename,), value)
self.assertListEqual([entered_filename], value)

def test_list_item_path(self):
path = "https://test/path"
Expand Down
Loading

0 comments on commit 92dc3e3

Please sign in to comment.