[csw-devel] SF.net SVN: gar:[12516] csw/mgar/gar/v2-fortran/lib/python/ package_checks_test.py

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Wed Jan 12 20:35:45 CET 2011


Revision: 12516
          http://gar.svn.sourceforge.net/gar/?rev=12516&view=rev
Author:   gadavis
Date:     2011-01-12 19:35:45 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
Force package_check_test.py to be v2 version - previous merge goofed up somehow

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

Modified: csw/mgar/gar/v2-fortran/lib/python/package_checks_test.py
===================================================================
--- csw/mgar/gar/v2-fortran/lib/python/package_checks_test.py	2011-01-12 19:26:11 UTC (rev 12515)
+++ csw/mgar/gar/v2-fortran/lib/python/package_checks_test.py	2011-01-12 19:35:45 UTC (rev 12516)
@@ -1448,7 +1448,7 @@
                                            unittest.TestCase):
   FUNCTION_NAME = 'CheckLicenseFilePlacement'
   def CheckpkgTest(self):
-    self.pkg_data = neon_stats[0]
+    self.pkg_data = copy.deepcopy(neon_stats[0])
     self.pkg_data["pkgmap"].append({
       "class": "none", "type": "f", "line": "",
       "user": "root", "group": "bin", "mode": '0755',
@@ -1478,7 +1478,7 @@
   "A random file should not trigger the message; only license files."
   FUNCTION_NAME = 'CheckLicenseFilePlacement'
   def CheckpkgTest(self):
-    self.pkg_data = neon_stats[0]
+    self.pkg_data = copy.deepcopy(neon_stats[0])
     self.pkg_data["pkgmap"].append({
       "class": "none", "type": "f", "line": "",
       "user": "root", "group": "bin", "mode": '0755',


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