~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lazy_import.py

  • Committer: Aaron Bentley
  • Date: 2007-11-09 02:24:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2976.
  • Revision ID: aaron.bentley@utoronto.ca-20071109022444-7pnank284u5prg5h
Ensure that the attribute is actually set

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        test_obj6.bar = 'test'
182
182
        self.assertNotEqual(lazy_import.ScopeReplacer,
183
183
                            object.__getattribute__(test_obj6, '__class__'))
 
184
        self.assertEqual('test', test_obj6.bar)
184
185
 
185
186
    def test_replace_side_effects(self):
186
187
        """Creating a new object should only create one entry in globals.