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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Dec 1 01:42:34 CET 2012


Revision: 19794
          http://gar.svn.sourceforge.net/gar/?rev=19794&view=rev
Author:   wahwah
Date:     2012-12-01 00:42:34 +0000 (Sat, 01 Dec 2012)
Log Message:
-----------
inspective_package_test: unit test fix

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	2012-12-01 00:42:16 UTC (rev 19793)
+++ csw/mgar/gar/v2/lib/python/inspective_package_test.py	2012-12-01 00:42:34 UTC (rev 19794)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python2.6
 
-import unittest
+import unittest2 as unittest
 import inspective_package
 import mox
 import hachoir_parser
@@ -66,7 +66,7 @@
     ip.pkginfo_dict = {
         "BASEDIR": "",
     }
-    self.assertEqual([u'/fake/path/CSWfoo/root/foo-file'], ip.ListBinaries())
+    self.assertEqual([u'foo-file'], ip.ListBinaries())
 
 
 class PackageStatsUnitTest(unittest.TestCase):

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