File: test_tv999.py

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


class TestPluginCanHandleUrlTV999(PluginCanHandleUrl):
    __plugin__ = TV999

    should_match = [
        "http://tv999.bg/live.html",
        "http://www.tv999.bg/live.html",
        "https://tv999.bg/live",
        "https://tv999.bg/live.html",
        "https://www.tv999.bg/live.html",
    ]

    should_not_match = [
        "http://tv999.bg/",
    ]