Author: bugman Date: Tue Mar 13 16:56:38 2012 New Revision: 15473 URL: http://svn.gna.org/viewcvs/relax?rev=15473&view=rev Log: Added the ability to skip scripts in the package __all__ list unit test checks. Modified: 1.3/test_suite/unit_tests/package_checking.py Modified: 1.3/test_suite/unit_tests/package_checking.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/package_checking.py?rev=15473&r1=15472&r2=15473&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/package_checking.py (original) +++ 1.3/test_suite/unit_tests/package_checking.py Tue Mar 13 16:56:38 2012 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2009-2011 Edward d'Auvergne # +# Copyright (C) 2009-2012 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -47,6 +47,10 @@ if file == '__init__.py': continue + # Skip blacklisted files. + if hasattr(self, 'blacklist') and file in self.blacklist: + continue + # Remove the '.py' part. module = file[:-3]