diff options
-rw-r--r-- | src/argaze.test/AreaOfInterest/AOI3DScene.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOI3DScene.py b/src/argaze.test/AreaOfInterest/AOI3DScene.py index e74e246..2d88519 100644 --- a/src/argaze.test/AreaOfInterest/AOI3DScene.py +++ b/src/argaze.test/AreaOfInterest/AOI3DScene.py @@ -31,10 +31,8 @@ class TestAOI3DSceneClass(unittest.TestCase): def test_load(self): """Test AOI3DScene load method.""" - aoi_3d_scene_tt = AOI3DScene.AOI3DScene() - current_directory = os.path.dirname(os.path.abspath(__file__)) - aoi_3d_scene_tt.load(os.path.join(current_directory, 'utils/scene.obj')) + aoi_3d_scene_tt = AOI3DScene.AOI3DScene.from_obj(os.path.join(current_directory, 'utils/scene.obj')) self.assertEqual(len(aoi_3d_scene_tt.items()), 2) |