X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FTest%2FUnitTestAxis.py;h=eb32d6aec891375e07103b4ce13e19b5db9af927;hb=d5b5ce2284869d8b97ce638502c58c810bbeb0c7;hp=9dbb8c8fc491261fbe7f364965eb84298138d4a2;hpb=cb3b1befb8fa7b3067d9263f94391108429d691a;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/Test/UnitTestAxis.py b/src/ConstructionPlugin/Test/UnitTestAxis.py index 9dbb8c8fc..eb32d6aec 100644 --- a/src/ConstructionPlugin/Test/UnitTestAxis.py +++ b/src/ConstructionPlugin/Test/UnitTestAxis.py @@ -1,8 +1,22 @@ -# Copyright (C) 2014-2016 CEA/DEN, EDF R&D - -# File: UnitTestAxis.py -# Created: 30 Mar 2016 -# Author: CEA (delegation to Alyotech) +## 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 +## """ UnitTestAxis.py @@ -20,7 +34,7 @@ data()->addAttribute(ConstructionPlugin_Axis::METHOD(), ModelAPI_AttributeString::typeId()); - + data()->addAttribute(ConstructionPlugin_Axis::POINT_FIRST(), ModelAPI_AttributeSelection::typeId()); data()->addAttribute(ConstructionPlugin_Axis::POINT_SECOND(), ModelAPI_AttributeSelection::typeId()); @@ -75,5 +89,5 @@ aSession.finishOperation() # End of test #========================================================================= -import model +from salome.shaper import model assert(model.checkPythonDump())