Esempio n. 1
0
 def test_window(self):
     lib = SongFileLibrary()
     lib.librarian = SongLibrarian()
     pl = player.init_player("nullbe", lib.librarian)
     window = QuodLibetWindow(lib, pl, headless=True)
     assert window in window.windows
     window.destroy()
Esempio n. 2
0
 def test_window(self):
     lib = library.init()
     pl = player.init("nullbe").init(lib.librarian)
     window = QuodLibetWindow(lib, pl, headless=True)
     window.destroy()