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


class TestPluginCanHandleUrlMjunoon(PluginCanHandleUrl):
    __plugin__ = Mjunoon

    should_match = [
        "https://mjunoon.tv/news-live",
        "http://mjunoon.tv/watch/some-long-vod-name23456",
        "https://www.mjunoon.tv/other-live",
        "https://www.mjunoon.tv/watch/something-else-2321",
    ]

    should_not_match = [
        "https://mjunoon.com",
    ]