fix: Update is_important function tests for README.md paths

This commit is contained in:
Paul Gauthier 2024-08-30 16:59:36 -07:00 committed by Paul Gauthier (aider)
parent 99ec8e5927
commit cf67a86280

View file

@ -53,9 +53,9 @@ def test_is_important_case_sensitivity():
def test_is_important_with_paths(): def test_is_important_with_paths():
# Test with different path formats # Test with different path formats
assert is_important("project/README.md") assert not is_important("project/README.md")
assert is_important("./README.md") assert is_important("./README.md")
assert is_important("/absolute/path/to/README.md") assert not is_important("/absolute/path/to/README.md")
@pytest.mark.parametrize( @pytest.mark.parametrize(