diff --git a/tests/test_fitcube.py b/tests/test_fitcube.py index bfacda0..56fe067 100644 --- a/tests/test_fitcube.py +++ b/tests/test_fitcube.py @@ -118,8 +118,8 @@ def test_alignMarkersFitRegularData(self): self.assertEqual(fitter.getMarkerGroup().getName(), "marker") #fitter.getRegion().writeFile(os.path.join(here, "resources", "km_fitgeometry1.exf")) fieldmodule = fitter.getFieldmodule() - surfaceAreaField = createFieldMeshIntegral(coordinates, fitter.getMesh(2), numberOfPoints=4) - volumeField = createFieldMeshIntegral(coordinates, fitter.getMesh(3), numberOfPoints=3) + surfaceAreaField = createFieldMeshIntegral(coordinates, fitter.getMesh(2), number_of_points=4) + volumeField = createFieldMeshIntegral(coordinates, fitter.getMesh(3), number_of_points=3) fieldcache = fieldmodule.createFieldcache() result, surfaceArea = surfaceAreaField.evaluateReal(fieldcache, 1) self.assertEqual(result, RESULT_OK)