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()
def test_window(self): lib = library.init() pl = player.init("nullbe").init(lib.librarian) window = QuodLibetWindow(lib, pl, headless=True) window.destroy()