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


class TestPluginCanHandleUrlNASAPlus(PluginCanHandleUrl):
    __plugin__ = NASAPlus

    should_match = [
        # live / rebroadcast
        "https://plus.nasa.gov/scheduled-video/iss-expedition-70-in-flight-educational-event-with-the-creative-learning-academy-in-pensacola-florida-and-nasa-flight-engineer-jasmin-moghbeli/",
        # VOD
        "https://plus.nasa.gov/video/moon-101-introduction-to-the-moon/",
    ]