File: test_httpvideo.py

package info (click to toggle)
labgrid 25.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,796 kB
  • sloc: python: 21,352; sh: 846; makefile: 35
file content (8 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from labgrid.resource.httpvideostream import HTTPVideoStream
from labgrid.driver.httpvideodriver import HTTPVideoDriver


def test_ipvideo_create(target):
    r = HTTPVideoStream(target, name=None, url="http://localhost/")
    d = HTTPVideoDriver(target, name=None)
    assert isinstance(d, HTTPVideoDriver)