/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: Jelmer Vernooij
  • Date: 2011-12-11 17:14:12 UTC
  • Revision ID: jelmer@samba.org-20111211171412-cgcn0yas3zlcahzg
StartĀ onĀ 0.104.0.

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"""