

def test_on_on(self):
    _lazy.USE_LAZY = True
    f = fixture.ToggleLazy(True)
    f.setUp()
    self.assertTrue(_lazy.USE_LAZY)
    f._restore_original()
    self.assertTrue(_lazy.USE_LAZY)

dataset/ETHPy150Open openstack/oslo.i18n/oslo_i18n/tests/test_fixture.py ToggleLazyFixtureText.test_on_on/original