Skip to content

Commit

Permalink
#1350 - Apply Ruff format
Browse files Browse the repository at this point in the history
Signed-off-by: Chin Yeung Li <[email protected]>
  • Loading branch information
chinyeungli committed Aug 14, 2024
1 parent 64522c0 commit 908a2fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scanpipe/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,9 @@ def test_scanpipe_run_model_get_diff_url(self):
run1.set_scancodeio_version()
self.assertEqual("v32.3.0-28-g0000000", run1.scancodeio_version)

expected = "https://github.com/aboutcode-org/scancode.io/compare/0000000..ffffffff"
expected = (
"https://github.com/aboutcode-org/scancode.io/compare/0000000..ffffffff"
)
with mock.patch("scancodeio.__version__", "v31.0.0-1-gffffffff"):
self.assertEqual(expected, run1.get_diff_url())

Expand Down

0 comments on commit 908a2fb

Please sign in to comment.