[csw-devel] SF.net SVN: gar:[20105] csw/mgar/gar/v2/lib/python/inspective_package_test. py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 13 12:36:40 CET 2013


Revision: 20105
          http://gar.svn.sourceforge.net/gar/?rev=20105&view=rev
Author:   wahwah
Date:     2013-01-13 11:36:40 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
checkpkg: Fix a test case; uname is not called

Not called when there's no error.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/inspective_package_test.py

Modified: csw/mgar/gar/v2/lib/python/inspective_package_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/inspective_package_test.py	2013-01-13 11:21:50 UTC (rev 20104)
+++ csw/mgar/gar/v2/lib/python/inspective_package_test.py	2013-01-13 11:36:40 UTC (rev 20105)
@@ -153,7 +153,6 @@
     self.mox.StubOutWithMock(os, 'chmod')
     self.mox.StubOutWithMock(os, 'uname')
     os.chmod('/tmp/CSWfake/root/bin/foo', 0755)
-    os.uname().AndReturn('i86pc')
     ip.ListBinaries().AndReturn(['bin/foo'])
     self.mox.StubOutWithMock(inspective_package, 'ShellCommand')
     inspective_package.ShellCommand(

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