~veebers/autopilot/1.6-OR-removal_from-proxy-object

« back to all changes in this revision

Viewing changes to autopilot/tests/unit/test_test_fixtures.py

  • Committer: Christopher Lee
  • Date: 2015-07-19 23:31:33 UTC
  • mfrom: (573.1.16 remove_object_registry)
  • Revision ID: chris.lee@canonical.com-20150719233133-8fxoip1sgzjia7aw
Merge pre-req. updates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
        original_tz = os.environ.get('TZ', None)
230
230
        token = self.getUniqueString()
231
231
 
232
 
        fixture = self.useFixture(Timezone(token))
233
 
        fixture.cleanUp()
 
232
        with Timezone(token):
 
233
            pass  # Trigger cleanup
234
234
 
235
235
        self.assertEqual(os.environ.get('TZ', None), original_tz)