File: test_basetv.py

package info (click to toggle)
python-androidtv 0.0.73-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 792 kB
  • sloc: python: 7,123; makefile: 188; sh: 105
file content (19 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import sys
import unittest


sys.path.insert(0, "..")

from androidtv import constants
from androidtv.androidtv.base_androidtv import BaseAndroidTV
from androidtv.firetv.base_firetv import BaseFireTV


class TestBaseTV(unittest.TestCase):
    def test_base_android_tv(self):
        """Test that ``BaseAndroidTV.__init__`` runs without error."""
        BaseAndroidTV("host")

    def test_base_fire_tv(self):
        """Test that ``BaseFireTV.__init__`` runs without error."""
        BaseFireTV("host")