File: __init__.py

package info (click to toggle)
pyjvcprojector 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: python: 966; makefile: 13; sh: 5
file content (16 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""pytest tests."""

from jvcprojector.device import END

IP = "127.0.0.1"
HOST = "localhost"
PORT = 12345
TIMEOUT = 3.0
MAC = "abcd1234"
MODEL = "model123"
PASSWORD = "pass1234"


def cc(hdr: bytes, cmd: str):
    """Create a command."""
    return hdr + cmd.encode() + END