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


class TestPluginCanHandleUrlAtpChallenger(PluginCanHandleUrl):
    __plugin__ = AtpChallengerTour

    should_match = [
        "https://www.atptour.com/en/atp-challenger-tour/challenger-tv",
        "https://www.atptour.com/es/atp-challenger-tour/challenger-tv",
        "https://www.atptour.com/en/atp-challenger-tour/challenger-tv/challenger-tv-search-results/"
        + "2022-2785-ms005-zug-alexander-ritschard-vs-dominic-stricker/2022/2785/all",
    ]