Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   tearDown -> tearDownModules. (http://www.linux-archive.org/gentoo-user/388994-teardown-teardownmodules.html)

Chris Lumens 06-21-2010 06:10 PM

tearDown -> tearDownModules.
 
---
tests/mock/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/mock/__init__.py b/tests/mock/__init__.py
index a72d1aa..8c35c9c 100644
--- a/tests/mock/__init__.py
+++ b/tests/mock/__init__.py
@@ -49,7 +49,7 @@ class TestCase(unittest.TestCase):
oldname += m + "."
self.injectedModules[mname] = mod

- def tearDown(self):
+ def tearDownModules(self):
"""Unload previously Mocked modules"""

import sys
--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 09:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.