/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-04 03:48:04 UTC
  • mfrom: (737.1.3 fix-threads-icons)
  • Revision ID: sinzui.is@verizon.net-20110904034804-u7nod7mzximvqu8l
Fix icon and running thread issues reported by the test suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    gannotate,
26
26
    )
27
27
 
 
28
 
28
29
class TestConfig(tests.TestCaseInTempDir):
29
30
 
30
31
    def setUp(self):
 
32
        # Create an instance before the env is changed so that
 
33
        # icon lookups work.
 
34
        self.window = gannotate.GAnnotateWindow()
31
35
        super(TestConfig, self).setUp()
32
 
        self.window = gannotate.GAnnotateWindow()
 
36
 
 
37
    def tearDown(self):
 
38
        self.window.destroy()
 
39
        super(TestConfig, self).tearDown()
33
40
 
34
41
    def test_create_initial_config(self):
35
42
        """We can create a config even without a prior conf file"""