Skip to content

Commit

Permalink
fixup python
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal committed Jan 3, 2025
1 parent 25a5d8f commit 1ef6082
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/testing/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import f3d

from pathlib import Path

def test_text_distance():
assert f3d.Utils.text_distance("modle", "model") == 2


def test_collapse_path():
assert f3d.Utils.collapse_path("/folder/../file.ext", ".") == "/file.ext"
assert f3d.Utils.collapse_path("/folder/../file.ext", ".") == Path("/file.ext")

0 comments on commit 1ef6082

Please sign in to comment.