/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ignores.py

  • Committer: Vincent Ladeuil
  • Date: 2010-01-25 17:48:22 UTC
  • mto: (4987.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4988.
  • Revision ID: v.ladeuil+lp@free.fr-20100125174822-nce4l19sbwx83jvq
Deploying the new overrideAttr facility further reduces the complexity
and make the code clearer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    def setUp(self):
133
133
        TestCase.setUp(self)
134
134
 
135
 
        self.addAttrCleanup(ignores, '_runtime_ignores')
136
135
        # For the purposes of these tests, we must have no
137
136
        # runtime ignores
138
 
        ignores._runtime_ignores = set()
 
137
        self.overrideAttr(ignores, '_runtime_ignores', set())
139
138
 
140
139
    def test_add(self):
141
140
        """Test that we can add an entry to the list."""