Skip to content

Commit

Permalink
fix layers test
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Jul 9, 2024
1 parent b5d8903 commit c73f4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_File3dm_LayerTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c73f4e9

Please sign in to comment.