Salome HOME
Issue #2535: Intersection - Include into sketch result does not work
[modules/shaper.git] / src / ConstructionPlugin / Test / UnitTestAxis.py
index c626e6de00fe238039f50d9e00d0136fa9ee0c5a..eb32d6aec891375e07103b4ce13e19b5db9af927 100644 (file)
@@ -1,8 +1,22 @@
-# Copyright (C) 2014-2016 CEA/DEN, EDF R&D
-
-# File:        UnitTestAxis.py
-# Created:     30 Mar 2016
-# Author:      Clarisse Genrault (CEA)
+## 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<mailto: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())