1# This program is free software; you can redistribute it and/or modify 2# it under the terms of the GNU General Public License as published by 3# the Free Software Foundation; either version 2 of the License, or 4# (at your option) any later version. 5 6from quodlibet import app 7from quodlibet.qltk.about import AboutDialog 8from tests import TestCase, init_fake_app, destroy_fake_app 9 10 11class TAboutDialog(TestCase): 12 13 def setUp(self): 14 init_fake_app() 15 16 def tearDown(self): 17 destroy_fake_app() 18 19 def test_ctr(self): 20 AboutDialog(None, app).destroy() 21