Skip to content

Commit 19de29d

Browse files
committed
Fix failing tests #1691
Signed-off-by: tdruez <[email protected]>
1 parent de49a64 commit 19de29d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scanpipe/tests/test_models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,9 @@ def test_scanpipe_codebase_resource_model_walk_method(self):
21452145
path="asgiref-3.3.0.whl-extract/asgiref/compatibility.py"
21462146
)
21472147
expected_parent_path = "asgiref-3.3.0.whl-extract/asgiref"
2148-
self.assertEqual(expected_parent_path, asgiref_resource.parent_directory())
2148+
self.assertEqual(
2149+
expected_parent_path, asgiref_resource.compute_parent_directory()
2150+
)
21492151
self.assertTrue(asgiref_resource.has_parent())
21502152
expected_parent = self.project_asgiref.codebaseresources.get(
21512153
path="asgiref-3.3.0.whl-extract/asgiref"

0 commit comments

Comments
 (0)