Beispiel #1
0
 def test_get_info_label_busy(self):
     with mock.patch('xbmc.getInfoLabel', return_value='Busy'):
         utils.get_info_label('test_label')
         self.assertEqual(utils.get_info_label('test_label'), None)
 def _is_libreelec(cls):
     return True
     version_info = utils.get_info_label('System.OSVersionInfo')
     if version_info:
         return 'LibreELEC' in version_info