[csw-devel] SF.net SVN: gar:[15994] csw/mgar/gar/v2/lib/python/package_checks_test.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Oct 26 00:34:12 CEST 2011
Revision: 15994
http://gar.svn.sourceforge.net/gar/?rev=15994&view=rev
Author: wahwah
Date: 2011-10-25 22:34:12 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
checkpkg: Adding .Message calls to a unit test
There are more .SuggestGarLine and .Message() calls in one of the
checksone of the checks.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/package_checks_test.py
Modified: csw/mgar/gar/v2/lib/python/package_checks_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks_test.py 2011-10-25 22:33:22 UTC (rev 15993)
+++ csw/mgar/gar/v2/lib/python/package_checks_test.py 2011-10-25 22:34:12 UTC (rev 15994)
@@ -1363,6 +1363,10 @@
self.error_mgr_mock.ReportError(
'shared-lib-package-contains-so-symlink',
'file=/opt/csw/lib/sparcv9/libneon.so')
+ for j in range(2):
+ for i in range(7):
+ self.messenger.SuggestGarLine(mox.IsA(str))
+ self.messenger.Message(mox.IsA(str))
def SetMessenger(self):
"""Overriding this method to use mock instead of a stub."""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list