/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-01 12:28:35 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110901122835-yn5z2mxqetzh6hb7
Update tests to get the correct icon when bzr-gtk is not installed.

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()
33
36
 
34
37
    def test_create_initial_config(self):
35
38
        """We can create a config even without a prior conf file"""