File: test_goltelevision.py

package info (click to toggle)
streamlink 8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,568 kB
  • sloc: python: 51,299; sh: 184; makefile: 152
file content (20 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from streamlink.plugins.goltelevision import GOLTelevision
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlGOLTelevision(PluginCanHandleUrl):
    __plugin__ = GOLTelevision

    should_match = [
        "http://goltelevision.com/en-directo",
        "http://www.goltelevision.com/en-directo",
        "https://goltelevision.com/en-directo",
        "https://www.goltelevision.com/en-directo",
    ]

    should_not_match = [
        "http://goltelevision.com/live",
        "http://www.goltelevision.com/live",
        "https://goltelevision.com/live",
        "https://www.goltelevision.com/live",
    ]