Commit f316b466 authored by Peter Aisher's avatar Peter Aisher Committed by Nejc Habjan
Browse files

test(files): test with and without `ref` parameter in test case

parent 9cb3396d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ def test_repository_files(project):
    blame = project.files.blame(file_path="README.rst", ref="main")
    assert blame

    raw_file = project.files.raw(file_path="README.rst", ref="main")
    assert os.fsdecode(raw_file) == "Initial content"

    raw_file = project.files.raw(file_path="README.rst")
    assert os.fsdecode(raw_file) == "Initial content"