/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to tests/test_annotate_config.py

  • Committer: Curtis Hovey
  • Date: 2011-09-02 13:40:21 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110902134021-4oiahigvo91iv279
Ensure the avatar threads are stopped when the widget is destroyed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        self.window = gannotate.GAnnotateWindow()
35
35
        super(TestConfig, self).setUp()
36
36
 
 
37
    def tearDown(self):
 
38
        self.window.destroy()
 
39
        super(TestConfig, self).tearDown()
 
40
 
37
41
    def test_create_initial_config(self):
38
42
        """We can create a config even without a prior conf file"""
39
43
        conf = config.GAnnotateConfig(self.window)