File: test_sbscokr.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 (15 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from streamlink.plugins.sbscokr import SBScokr
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlSBScokr(PluginCanHandleUrl):
    __plugin__ = SBScokr

    should_match_groups = [
        # regular channels
        ("https://www.sbs.co.kr/live/S01", {"channel": "S01"}),
        ("https://www.sbs.co.kr/live/S01?div=live_list", {"channel": "S01"}),
        # "virtual" channels
        ("https://www.sbs.co.kr/live/S21", {"channel": "S21"}),
        ("https://www.sbs.co.kr/live/S21?div=live_list", {"channel": "S21"}),
    ]