File: test_cmmedia.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 (19 lines) | stat: -rw-r--r-- 581 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
from streamlink.plugins.cmmedia import CMMedia
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlCMMedia(PluginCanHandleUrl):
    __plugin__ = CMMedia

    should_match = [
        "http://cmmedia.es",
        "http://www.cmmedia.es",
        "http://cmmedia.es/any/path",
        "http://cmmedia.es/any/path?x",
        "http://www.cmmedia.es/any/path?x&y",
        "https://cmmedia.es",
        "https://www.cmmedia.es",
        "https://cmmedia.es/any/path",
        "https://cmmedia.es/any/path?x",
        "https://www.cmmedia.es/any/path?x&y",
    ]