We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea1851 commit f7e207eCopy full SHA for f7e207e
tests/analyze/test_analyze_json_python-example.py
@@ -28,7 +28,7 @@ def test_analyze_command_with_json_flag():
28
assert "function_count" in output
29
30
# Verify the values match expected results
31
- assert output["file_name"] == SAMPLE_FILE_PATH
+ assert output["file_name"] == os.path.basename(SAMPLE_FILE_PATH)
32
assert output["line_count"] == 161
33
assert output["comment_line_count"] == 25
34
assert output["function_count"] == 17
0 commit comments