|
|
@@ -2,12 +2,8 @@
|
|
|
|
|
|
import unittest
|
|
|
|
|
|
-import pygame
|
|
|
-
|
|
|
from mopidy_touchscreen import Extension
|
|
|
|
|
|
-from mopidy_touchscreen.graphic_utils.list_view import ListView
|
|
|
-
|
|
|
|
|
|
# ,touch_screen as frontend_lib
|
|
|
|
|
|
@@ -31,9 +27,3 @@ class ExtensionTest(unittest.TestCase):
|
|
|
# TODO Test the content of your config schema
|
|
|
# self.assertIn('username', schema)
|
|
|
# self.assertIn('password', schema)
|
|
|
-
|
|
|
- def test_list_view(self):
|
|
|
- pygame.init()
|
|
|
- font = pygame.font.SysFont("arial", 200/6)
|
|
|
- list = ListView((0, 0), (200, 200), 200/6, font)
|
|
|
- list.set_list(["item1", "item2", "item3"])
|