File: test_oneplusone.py

package info (click to toggle)
streamlink 8.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,564 kB
  • sloc: python: 51,188; sh: 184; makefile: 152
file content (21 lines) | stat: -rw-r--r-- 717 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
21
from streamlink.plugins.oneplusone import OnePlusOne
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlOnePlusOne(PluginCanHandleUrl):
    __plugin__ = OnePlusOne

    should_match = [
        "https://1plus1.video/ru/tvguide/plusplus/online",
        "https://1plus1.video/tvguide/1plus1/online",
        "https://1plus1.video/tvguide/2plus2/online",
        "https://1plus1.video/tvguide/bigudi/online",
        "https://1plus1.video/tvguide/plusplus/online",
        "https://1plus1.video/tvguide/sport/online",
        "https://1plus1.video/tvguide/tet/online",
        "https://1plus1.video/tvguide/uniantv/online",
    ]

    should_not_match = [
        "https://1plus1.video/",
    ]