bh: thuban/test test_connector.py,1.4,1.5

cvs@intevation.de cvs at intevation.de
Wed Mar 16 15:55:23 CET 2005


Author: bh

Update of /thubanrepository/thuban/test
In directory doto:/tmp/cvs-serv25641/test

Modified Files:
	test_connector.py 
Log Message:
(DeletionTestMixin.check_deletions)
(DeletionTestMixin.check_deletetions): renamed to check_deletions.
update the callers.


Index: test_connector.py
===================================================================
RCS file: /thubanrepository/thuban/test/test_connector.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- test_connector.py	18 Nov 2003 13:18:48 -0000	1.4
+++ test_connector.py	16 Mar 2005 14:55:21 -0000	1.5
@@ -1,4 +1,4 @@
-# Copyright (c) 2002, 2003 by Intevation GmbH
+# Copyright (c) 2002, 2003, 2004 by Intevation GmbH
 # Authors:
 # Bernhard Herzog <bh at intevation.de>
 #
@@ -143,7 +143,7 @@
         """Append the id of obj to the self.deleted_objects"""
         self.deleted_objects.append(id(obj))
 
-    def check_deletetions(self):
+    def check_deletions(self):
         """Assert equality of self.expected_deletions and self.deleted_objects
 
         This check simply compares the lists for equality and thus
@@ -196,7 +196,7 @@
 
         # make sure that all references have been deleted
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_issue_param(self):
         """Test connector issue with parameters"""
@@ -217,7 +217,7 @@
         # make sure that all references have been deleted
         self.connector.RemovePublisher(pub)
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_cyclic_references(self):
         """Test whether connector avoids cyclic references"""
@@ -231,7 +231,7 @@
         # method removes all subscriptions
         del pub
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_disconnect_in_receiver(self):
         """Test unsubscribing from a channel while receiving a message
@@ -296,7 +296,7 @@
 
         # make sure that all references have been deleted
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_issue_param(self):
         """Test Publisher message with parameters"""
@@ -317,7 +317,7 @@
         # make sure that all references have been deleted
         pub.Destroy()
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_cyclic_references(self):
         """Test whether Publisher avoids cyclic references"""
@@ -331,7 +331,7 @@
         # method removes all subscriptions
         del pub
         del rec
-        self.check_deletetions()
+        self.check_deletions()
 
     def test_unsubscribe_after_destroy(self):
         """Test that Unsubscribe() does not raise exceptions after a Destroy"""





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)