Skip to content

Commit f316b46

Browse files
Peter Aishernejch
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

Lines changed: 3 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy