File: test_tvtoya.py

package info (click to toggle)
streamlink 8.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 5,608 kB
  • sloc: python: 51,763; sh: 184; makefile: 152
file content (20 lines) | stat: -rw-r--r-- 496 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.tvtoya import TVToya
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlTVToya(PluginCanHandleUrl):
    __plugin__ = TVToya

    should_match = [
        "http://tvtoya.pl/player/live",
        "https://tvtoya.pl/player/live",
    ]

    should_not_match = [
        "http://tvtoya.pl",
        "http://tvtoya.pl/",
        "http://tvtoya.pl/live",
        "https://tvtoya.pl",
        "https://tvtoya.pl/",
        "https://tvtoya.pl/live",
    ]