~ubuntu-branches/ubuntu/karmic/quodlibet/karmic

« back to all changes in this revision

Viewing changes to tests/test_qltk_prefs.py

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2009-01-30 23:55:34 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20090130235534-l4e72ulw0vqfo17w
Tags: 2.0-1ubuntu1
* Merge from Debian experimental (LP: #276856), remaining Ubuntu changes:
  + debian/patches/40-use-music-profile.patch:
    - Use the "Music and Movies" pipeline per default.
* Refresh the above patch for new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from tests import TestCase, add
 
2
 
 
3
from quodlibet.qltk.prefs import PreferencesWindow
 
4
import quodlibet.config
 
5
 
 
6
class TPreferencesWindow(TestCase):
 
7
    def setUp(self):
 
8
        quodlibet.config.init()
 
9
        self.win = PreferencesWindow(None)
 
10
 
 
11
    def test_ctr(self):
 
12
        pass
 
13
 
 
14
    def tearDown(self):
 
15
        self.win.destroy()
 
16
        quodlibet.config.quit()
 
17
add(TPreferencesWindow)