File: test_telefe.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 (20 lines) | stat: -rw-r--r-- 631 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
from streamlink.plugins.telefe import Telefe
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlTelefe(PluginCanHandleUrl):
    __plugin__ = Telefe

    should_match = [
        "https://mitelefe.com/vivo",
        "https://mitelefe.com/vivo/",
    ]

    should_not_match = [
        "http://telefe.com/pone-a-francella/temporada-1/programa-01/",
        "http://telefe.com/los-simuladores/temporada-1/capitulo-01/",
        "http://telefe.com/dulce-amor/capitulos/capitulo-01/",
        "http://telefe.com/",
        "http://www.telefeinternacional.com.ar/",
        "http://marketing.telefe.com/",
    ]