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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Oct 26 00:34:43 CEST 2011


Revision: 15995
          http://gar.svn.sourceforge.net/gar/?rev=15995&view=rev
Author:   wahwah
Date:     2011-10-25 22:34:43 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
checkpkg: Adjust a unit test to use 'legacy'

...instead of 'stable'.

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-10-25 22:34:12 UTC (rev 15994)
+++ csw/mgar/gar/v2/lib/python/package_stats_test.py	2011-10-25 22:34:43 UTC (rev 15995)
@@ -307,7 +307,7 @@
     sqo_pkg2 = self.TestPackageStats.ImportPkg(neon_stats2)
     c = self.TestCatalog()
     c.AddSrv4ToCatalog(sqo_pkg1, 'SunOS5.9', 'i386', 'unstable')
-    c.AddSrv4ToCatalog(sqo_pkg2, 'SunOS5.9', 'i386', 'stable')
+    c.AddSrv4ToCatalog(sqo_pkg2, 'SunOS5.9', 'i386', 'legacy')
     expected = {
         u'/opt/csw/lib': [u'CSWneon'],
         u'/opt/csw/lib/sparcv9': [u'CSWneon']}
@@ -326,7 +326,7 @@
     sqo_pkg2 = self.TestPackageStats.ImportPkg(neon_stats2)
     c = self.TestCatalog()
     c.AddSrv4ToCatalog(sqo_pkg1, 'SunOS5.9', 'i386', 'unstable')
-    c.AddSrv4ToCatalog(sqo_pkg2, 'SunOS5.9', 'i386', 'stable')
+    c.AddSrv4ToCatalog(sqo_pkg2, 'SunOS5.9', 'i386', 'legacy')
     sqo_pkg1.registered = False
     expected = {}
     self.assertEqual(
@@ -419,7 +419,7 @@
     self.dbc.InitialDataImport()
     sqo_pkg1 = self.TestPackageStats.ImportPkg(neon_stats[0])
     c = self.TestCatalog()
-    args = ('SunOS5.9', 'i386', 'stable')
+    args = ('SunOS5.9', 'i386', 'legacy')
     c.AddSrv4ToCatalog(sqo_pkg1, *args)
     self.assertEquals(
         frozenset([]),

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