Skip to content

Commit

Permalink
typo + add sanity checks
Browse files Browse the repository at this point in the history
Signed-off-by: laurentsimon <[email protected]>
  • Loading branch information
laurentsimon committed Nov 1, 2023
1 parent 212330e commit c838484
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion model_signing/serialize_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_folder_symlink_root(self):
cleanup_model(model)

# symlink in non-root folder raises ValueError exception.
def test_foler_symlink_nonroot(self):
def test_folder_symlink_nonroot(self):
model = create_empty_folder("with_nonroot_symlinks")
sub_folder = model.joinpath("sub")
create_empty_folder(str(sub_folder))
Expand Down Expand Up @@ -260,6 +260,12 @@ def test_different_ignored_paths(self):
assert (r0 != r2)
assert (r0 != r3)
assert (r0 != r4)
assert (r1 != r2)
assert (r1 != r3)
assert (r1 != r4)
assert (r2 != r3)
assert (r2 != r4)
assert (r3 != r4)

# Rename the file under dir1.
new_file = model.joinpath("dir1/f11_altered")
Expand Down Expand Up @@ -621,6 +627,12 @@ def test_different_ignored_paths(self):
assert (r0 != r2)
assert (r0 != r3)
assert (r0 != r4)
assert (r1 != r2)
assert (r1 != r3)
assert (r1 != r4)
assert (r2 != r3)
assert (r2 != r4)
assert (r3 != r4)

# Rename the file under dir1.
new_file = model.joinpath("dir1/f11_altered")
Expand Down

0 comments on commit c838484

Please sign in to comment.