Skip to content

Commit 97b55ef

Browse files
committed
one more file
1 parent 6952cec commit 97b55ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

python_files/tests/pytestadapter/test_discovery.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,14 @@ def test_ruff_plugin():
353353
if actual_list is not None:
354354
actual_item = actual_list.pop(0)
355355
assert all(item in actual_item for item in ("status", "cwd", "error"))
356-
assert (
357-
actual_item.get("status") == "success"
358-
), f"Status is not 'success', error is: {actual_item.get('error')}"
356+
assert actual_item.get("status") == "success", (
357+
f"Status is not 'success', error is: {actual_item.get('error')}"
358+
)
359359
assert actual_item.get("cwd") == os.fspath(helpers.TEST_DATA_PATH)
360360
assert is_same_tree(
361361
actual_item.get("tests"),
362362
expected_discovery_test_output.ruff_test_expected_output,
363363
["id_", "lineno", "name", "runID"],
364-
), f"Tests tree does not match expected value. \n Expected: {json.dumps(expected_discovery_test_output.ruff_test_expected_output, indent=4)}. \n Actual: {json.dumps(actual_item.get('tests'), indent=4)}"
364+
), (
365+
f"Tests tree does not match expected value. \n Expected: {json.dumps(expected_discovery_test_output.ruff_test_expected_output, indent=4)}. \n Actual: {json.dumps(actual_item.get('tests'), indent=4)}"
366+
)

0 commit comments

Comments
 (0)