From c8384845e01d936854d5a2f5c7ad38986c32a8e0 Mon Sep 17 00:00:00 2001 From: laurentsimon Date: Wed, 1 Nov 2023 17:56:08 +0000 Subject: [PATCH] typo + add sanity checks Signed-off-by: laurentsimon --- model_signing/serialize_test.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/model_signing/serialize_test.py b/model_signing/serialize_test.py index a332dac7..a33126b0 100644 --- a/model_signing/serialize_test.py +++ b/model_signing/serialize_test.py @@ -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)) @@ -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") @@ -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")