Skip to content

Commit f114f8f

Browse files
committed
WIP: testing with local ply in same py directory of tests
1 parent 43b939c commit f114f8f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/test-pass.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
- name: Set read permissions for .ply file
8484
run: |
8585
icacls ${{github.workspace}}/tests/test_data/roof_quarter.ply /grant Everyone:R
86+
icacls ${{github.workspace}}/tests/integration_tests/pybinds_tests/roof_quarter.ply /grant Everyone:R
8687
8788
- name: Run tests with cmake
8889
run: |

deps/eigen

Submodule eigen updated from c29c800 to 3f06651

tests/integration_tests/pybinds_tests/test_pybind_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_DFPointCloud_init():
4444
def test_DFPointCloud_load_from_PLY():
4545
pc = dfb.dfb_geometry.DFPointCloud()
4646
# pc.load_from_PLY(get_ply_cloud_roof_quarter_path())
47-
pc.load_from_PLY("./roof_quarter.ply")
47+
pc.load_from_PLY(os.path.join(os.path.dirname(__file__), "./roof_quarter.ply"))
4848

4949
assert pc.points.__len__() == 7379, "DFPointCloud should have 7379 points"
5050
assert pc.normals.__len__() == 7379, "DFPointCloud should have 7379 normals"

0 commit comments

Comments
 (0)