From 032280c54b22e359c6ec314f47038a3d2c0b9f89 Mon Sep 17 00:00:00 2001 From: Richard Christie Date: Mon, 23 Dec 2019 11:03:10 +1300 Subject: [PATCH] Update for pep8 change to opencmiss.utils --- tests/test_fitcube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)