X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomDataAPI%2FTest%2FTestConstants.py;h=af0d2cd6a5d302e0df1e31c4af010138e7e90621;hb=cb0a7bdbea9f94ea30879522b230cbe773b60dc3;hp=bb6bc044afec44519b189ad7d18acd6b5765f06a;hpb=94585b6c7026d6ba622a5560ff538a145d911849;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/Test/TestConstants.py b/src/GeomDataAPI/Test/TestConstants.py index bb6bc044a..af0d2cd6a 100644 --- a/src/GeomDataAPI/Test/TestConstants.py +++ b/src/GeomDataAPI/Test/TestConstants.py @@ -1,7 +1,26 @@ +# Copyright (C) 2014-2019 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 +# + #=============================================================================== # Test GeomDataAPI static methods #=============================================================================== from GeomDataAPI import * -assert (GeomDataAPI_Point.type() == "Point") -assert (GeomDataAPI_Dir.type() == "Dir") -assert (GeomDataAPI_Point2D.type() == "Point2D") \ No newline at end of file +assert (GeomDataAPI_Point.typeId() == "Point") +assert (GeomDataAPI_Dir.typeId() == "Dir") +assert (GeomDataAPI_Point2D.typeId() == "Point2D") \ No newline at end of file