mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
s
This commit is contained in:
@ -45,7 +45,7 @@ PR Feedback:
|
|||||||
with pytest.raises(ScannerError):
|
with pytest.raises(ScannerError):
|
||||||
yaml.safe_load(yaml_str)
|
yaml.safe_load(yaml_str)
|
||||||
|
|
||||||
expected_output = [{'relevant file': 'src/app.py:', 'suggestion content': 'The print statement is outside inside the if __name__ ==: '}]
|
expected_output = [{'relevant file': 'src/app.py:', 'suggestion content': 'The print statement is outside inside the if __name__ ==:'}]
|
||||||
assert load_yaml(yaml_str) == expected_output
|
assert load_yaml(yaml_str) == expected_output
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user