FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-21-2010, 06:10 PM
Chris Lumens
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org