def test_check_inputstream(): if os.path.exists('test/cdm/widevine_config.json'): os.remove('test/cdm/widevine_config.json') default.run(['default.py', 'check_inputstream', 'mpd', 'com.widevine.alpha']) default.run(['default.py', 'check_inputstream', 'hls', 'widevine']) default.run(['default.py', 'check_inputstream', 'hls']) default.run(['default.py', 'check_inputstream', 'rtmp']) default.run(['default.py', 'check_inputstream', 'mpd', 'widevine', 'butter', 'cheese', 'eggs'])
def test_about(): default.run(['default.py', 'info'])
def test_widevine_install(): default.run(['default.py', 'widevine_install'])
def test_widevine_remove(): default.run(['default.py', 'widevine_remove'])
def test_settings(): default.run(['default.py'])