Ejemplo n.º 1
0
    def test_disable(self):
        emulation.unpatch(self.PATCH_NAME)

        for name, standard, patched, getter in self.PATCHES:
            val = getter()
            assert val is standard, (name, val)
Ejemplo n.º 2
0
    def test_disable(self):
        emulation.unpatch(self.PATCH_NAME)

        for name, standard, patched, getter in self.PATCHES:
            val = getter()
            assert val is standard, (name, val)
Ejemplo n.º 3
0
 def tearDown(self):
     super(MonkeyPatchBase, self).tearDown()
     emulation.unpatch()
Ejemplo n.º 4
0
 def tearDown(self):
     super(MonkeyPatchBase, self).tearDown()
     emulation.unpatch()