[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Naparuba naparuba at gmail.com
Tue Feb 28 22:07:39 UTC 2012


The following commit has been merged in the debian/master branch:
commit 98d1fbd471bd414e2370183361e10aebbad243e6
Author: Naparuba <naparuba at gmail.com>
Date:   Fri Nov 25 22:29:24 2011 +0100

    Fix : test dispatcher typos

diff --git a/test/test_dispatcher.py b/test/test_dispatcher.py
index be2ab01..f31b7ed 100755
--- a/test/test_dispatcher.py
+++ b/test/test_dispatcher.py
@@ -296,10 +296,10 @@ class TestDispatcher(ShinkenTest):
 
         # Now we really dispatch them!
         self.dispatcher.dispatch()
-        self.assert_(self.any_log_match('Dispatch OK of for conf in scheduler scheduler-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to reactionner reactionner-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to poller poller-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to broker broker-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of conf in scheduler scheduler-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to reactionner reactionner-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to poller poller-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to broker broker-all-1'))
         self.clear_logs()
 
         # And look if we really dispatch conf as we should
@@ -490,12 +490,12 @@ class TestDispatcherMultiBroker(ShinkenTest):
 
         # Now we really dispatch them!
         self.dispatcher.dispatch()
-        self.assert_(self.any_log_match('Dispatch OK of for conf in scheduler scheduler-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to reactionner reactionner-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to poller poller-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of conf in scheduler scheduler-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to reactionner reactionner-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to poller poller-all-1'))
         
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 1 to broker broker-all-1'))
-        self.assert_(self.any_log_match('Dispatch OK of for configuration 0 to broker broker-all-2'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 1 to broker broker-all-1'))
+        self.assert_(self.any_log_match('Dispatch OK of configuration 0 to broker broker-all-2'))
         self.clear_logs()
 
 

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list