diff --git a/tests/python/test_File3dm_LayerTable.py b/tests/python/test_File3dm_LayerTable.py index 3626a9fc..e1796725 100644 --- a/tests/python/test_File3dm_LayerTable.py +++ b/tests/python/test_File3dm_LayerTable.py @@ -25,10 +25,10 @@ def test_createFileWithLayers(self): file3dm.Write('test_createFileWithLayers.3dm') - file = rhino3dm.File3dm.Read('test_createFile.3dm') + file = rhino3dm.File3dm.Read('test_createFileWithLayers.3dm') qtyLayers2 = len(file.Layers) - self.assertTrue(qtyLayers == qtyLayers2) + self.assertTrue(qtyLayers == 2 and qtyLayers2 == 2) if __name__ == '__main__': print("running tests")