summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:32:47 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:32:47 +0200
commitc19ad90b488edabc47e3a5a5d477a3007eecaa69 (patch)
tree4b8819adaf38888a2f519d72a1cdfd95ff4aaebf /tools/python_test_v4.py
parent3c53f7fb8d9c0f829fbbc87acc7c83590a11b467 (diff)
downloadgitlab-c19ad90b488edabc47e3a5a5d477a3007eecaa69.tar.gz
Add commit.merge_requests() support
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 26e0488..0551093 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -376,6 +376,7 @@ status = commit.statuses.create({'state': 'success', 'sha': commit.id})
assert(len(commit.statuses.list()) == 1)
assert(commit.refs())
+assert(commit.merge_requests() is not None)
# commit comment
commit.comments.create({'note': 'This is a commit comment'})