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


class TestPluginCanHandleUrlMRTmk(PluginCanHandleUrl):
    __plugin__ = MRTmk

    should_match = [
        "http://play.mrt.com.mk/live/658323455489957",
        "http://play.mrt.com.mk/live/47",
        "http://play.mrt.com.mk/play/1581",
    ]

    should_not_match = [
        "http://play.mrt.com.mk/",
        "http://play.mrt.com.mk/c/2",
    ]