X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FTest%2FTestInteger.py;h=e27aea8def3643c95be9268e7721e51dc765f2d3;hb=9b61e5ee5eafe9d6948d9a78667efa2abec132c3;hp=c20b264e4921d676f70df0adf6c8661c5e173095;hpb=f853ca3afac47ae3b7e610af9d4eacef8f8739a5;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/Test/TestInteger.py b/src/ModelHighAPI/Test/TestInteger.py index c20b264e4..e27aea8de 100644 --- a/src/ModelHighAPI/Test/TestInteger.py +++ b/src/ModelHighAPI/Test/TestInteger.py @@ -1,3 +1,23 @@ +## Copyright (C) 2014-2017 CEA/DEN, EDF R&D +## +## This library is free software; you can redistribute it and/or +## modify it under the terms of the GNU Lesser General Public +## License as published by the Free Software Foundation; either +## version 2.1 of the License, or (at your option) any later version. +## +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## Lesser General Public License for more details. +## +## You should have received a copy of the GNU Lesser General Public +## License along with this library; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +## See http:##www.salome-platform.org/ or +## email : webmaster.salome@opencascade.com +## + import unittest import ModelHighAPI @@ -15,4 +35,5 @@ class IntegerTestCase(unittest.TestCase): if __name__ == "__main__": - unittest.main() + test_program = unittest.main(exit=False) + assert test_program.result.wasSuccessful(), "Test failed"