/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-07 16:01:14 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110907160114-ytbap2x584bh1ehw
Fixed long lines created by conversion script. removed checks for obsolete methods.

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