From f5b4a113a298d33cb72f80c94d85bdfec3c4e149 Mon Sep 17 00:00:00 2001 From: Vincent Lae Date: Fri, 4 Oct 2019 22:11:49 +0200 Subject: feat(project): add file blame api https://docs.gitlab.com/ee/api/repository_files.html#get-file-blame-from-repository --- tools/python_test_v4.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/python_test_v4.py') diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py index a27d854..9085f6f 100644 --- a/tools/python_test_v4.py +++ b/tools/python_test_v4.py @@ -423,6 +423,8 @@ readme = admin_project.files.get(file_path="README.rst", ref="master") # object method assert readme.decode().decode() == "Initial content" +blame = admin_project.files.blame(file_path="README.rst", ref="master") + data = { "branch": "master", "commit_message": "blah blah blah", -- cgit v1.2.1