[pitivi] Enhance tearDown in the EffectFactory test
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Enhance tearDown in the EffectFactory test
- Date: Wed, 22 Sep 2010 13:34:47 +0000 (UTC)
commit e8d83b2540c84b4fb278dba3801fe427dee1cc65
Author: Thibault Saunier <tsaunier src gnome org>
Date: Thu May 20 17:26:45 2010 -0400
Enhance tearDown in the EffectFactory test
tests/test_factories_operation.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_factories_operation.py b/tests/test_factories_operation.py
index b2c2de7..a7a5a95 100644
--- a/tests/test_factories_operation.py
+++ b/tests/test_factories_operation.py
@@ -34,7 +34,7 @@ from pitivi.factories.operation import VideoEffectFactory
class TestVideoEffectFactory(TestCase):
def setUp(self):
TestCase.setUp(self)
- self.factory = VideoEffectFactory ('identity', "identity")
+ self.factory = VideoEffectFactory ('identity', 'identity')
def testMakeBin (self):
bin = self.factory.makeBin()
@@ -46,4 +46,5 @@ class TestVideoEffectFactory(TestCase):
self.factory.releaseBin(bin2)
def tearDown(self):
- self.factory = None
+ del self.factory
+ TestCase.tearDown(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]