Skip to content

Commit f316b46

Browse files
Peter Aishernejch
Peter Aisher
authored andcommitted
test(files): test with and without ref parameter in test case
1 parent 9cb3396 commit f316b46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/functional/api/test_repository.py

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def test_repository_files(project):
4646
blame = project.files.blame(file_path="README.rst", ref="main")
4747
assert blame
4848

49+
raw_file = project.files.raw(file_path="README.rst", ref="main")
50+
assert os.fsdecode(raw_file) == "Initial content"
51+
4952
raw_file = project.files.raw(file_path="README.rst")
5053
assert os.fsdecode(raw_file) == "Initial content"
5154

0 commit comments

Comments
 (0)