MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_same_scan_location_is_rename

Function test_same_scan_location_is_rename

tests/test_diff.py:334–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332
333
334def test_same_scan_location_is_rename():
335 sc = ScanLocation(location = f"{uuid.uuid4()}.txt", size=666)
336 sc._lzset = {"a"}
337 assert sc.is_renamed_file(sc) == 1.0
338
339
340@pytest.mark.parametrize(["l_name", "r_name", "expected"],(

Callers

nothing calls this directly

Calls 2

is_renamed_fileMethod · 0.95
ScanLocationClass · 0.90

Tested by

no test coverage detected