summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:14:58 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:14:58 +0200
commit32569ea27d36c7341b031f11d14f79fd6abd373f (patch)
treec9e1b8e0b4f8430bfa0fbe0fffcbbd35d7376468 /tools/python_test_v4.py
parent63a4c7c95112f6c6aed6e9fa6cf4afd88f0b80e7 (diff)
downloadgitlab-32569ea27d36c7341b031f11d14f79fd6abd373f.tar.gz
Implement commit.refs()
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index fc19ee7..f9ea102 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -375,6 +375,8 @@ commit = admin_project.commits.list()[0]
status = commit.statuses.create({'state': 'success', 'sha': commit.id})
assert(len(commit.statuses.list()) == 1)
+assert(commit.refs())
+
# commit comment
commit.comments.create({'note': 'This is a commit comment'})
assert(len(commit.comments.list()) == 1)