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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Apr 2 13:24:30 CEST 2011


Revision: 14049
          http://gar.svn.sourceforge.net/gar/?rev=14049&view=rev
Author:   wahwah
Date:     2011-04-02 11:24:30 +0000 (Sat, 02 Apr 2011)

Log Message:
-----------
package_stats_test.py: Adjust call order in tests

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

Modified: csw/mgar/gar/v2/lib/python/package_stats_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_stats_test.py	2011-04-02 11:24:06 UTC (rev 14048)
+++ csw/mgar/gar/v2/lib/python/package_stats_test.py	2011-04-02 11:24:30 UTC (rev 14049)
@@ -46,10 +46,11 @@
     mock_dirpkg.GetCatalogname().AndReturn("mock_catalogname")
     mock_srv4.GetMd5sum().AndReturn("mock md5sum")
     mock_srv4.GetSize().AndReturn(42)
+    mock_dirpkg.GetDependencies().AndReturn(([], []))
     mock_dirpkg.ListBinaries().AndReturn([])
     mock_dirpkg.GetBinaryDumpInfo().AndReturn([])
-    mock_dirpkg.GetDependencies().AndReturn(([], []))
     mock_srv4.GetPkgchkOutput().AndReturn((0, "", ""))
+    mock_dirpkg.GetObsoletedBy().AndReturn(([], []))
     mock_dirpkg.GetParsedPkginfo().AndReturn({
       "ARCH": "sparc",
       "EMAIL": "maintainer at example.com",


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