Skip to content

Commit

Permalink
Fix unit test for Python 3.8 #744
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Druez <[email protected]>
  • Loading branch information
tdruez committed May 31, 2023
1 parent c925360 commit 52728ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scanpipe/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,6 @@ def test_scanpipe_views_project_codebase_view_get_tree(self):
self.assertEqual("", scanpipe_app.workspace_path)
with self.assertRaises(ValueError) as e:
get_tree(self.project1, current_dir="")
expected = "is not in the subpath of '' OR one path is relative"
self.assertIn(expected, str(e.exception))

with self.assertRaises(FileNotFoundError):
get_tree(self.project1, current_dir="not_existing")
Expand Down

0 comments on commit 52728ed

Please sign in to comment.