14 lines
522 B
Python
14 lines
522 B
Python
# Copyright 2021 (c) Anna Schumaker.
|
|
import audio
|
|
import unittest
|
|
from gi.repository import Gtk
|
|
from . import header
|
|
|
|
class TestHeader(unittest.TestCase):
|
|
def test_header_init(self):
|
|
self.assertIsInstance(header.Header, Gtk.HeaderBar)
|
|
self.assertIsInstance(header.controls, audio.controls.AudioControls)
|
|
self.assertIsInstance(header.Header.get_title_widget(),
|
|
audio.nowplaying.NowPlaying)
|
|
self.assertIsInstance(header.seekctrl, audio.scale.ScaleButtonBox)
|