File: test_sportal.py

package info (click to toggle)
streamlink 8.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,608 kB
  • sloc: python: 51,763; sh: 184; makefile: 152
file content (12 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
from streamlink.plugins.sportal import Sportal
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlSportal(PluginCanHandleUrl):
    __plugin__ = Sportal

    should_match = [
        "http://sportal.bg/sportal_live_tv.php?str=15",
        "http://www.sportal.bg/sportal_live_tv.php?",
        "http://www.sportal.bg/sportal_live_tv.php?str=15",
    ]