/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_win32utils.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:
264
264
 
265
265
    def setUp(self):
266
266
        super(TestLocationsPywin32, self).setUp()
267
 
        self.addAttrCleanup(win32utils, 'has_ctypes')
268
267
        # We perform the exact same tests after disabling the use of ctypes.
269
268
        # This causes the implementation to fall back to pywin32.
270
 
        # FIXME: this smells parametrization -- vila 100123
271
 
        win32utils.has_ctypes = False
 
269
        self.overrideAttr(win32utils, 'has_ctypes', False)
 
270
        # FIXME: this should be done by parametrization -- vila 100123
272
271
 
273
272
 
274
273
class TestSetHidden(TestCaseInTempDir):