summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 14:09:21 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 14:09:21 +0200
commite901f440d787c1fd43fdba1838a1f37066329ccf (patch)
treef37c6565a8676d38941b2385619db9a2f403fe24 /tools/python_test_v4.py
parent4ec8975982290f3950d629f0fd7c73f351ead84f (diff)
downloadgitlab-e901f440d787c1fd43fdba1838a1f37066329ccf.tar.gz
Issues: add missing attributes and methods
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 1527c2e..24b729d 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -511,6 +511,7 @@ assert(len(issue1.notes.list()) == 0)
assert(isinstance(issue1.user_agent_detail(), dict))
assert(issue1.user_agent_detail()['user_agent'])
+assert(issue1.participants())
discussion = issue1.discussions.create({'body': 'Discussion body'})
assert(len(issue1.discussions.list()) == 1)
@@ -604,7 +605,7 @@ assert(len(discussion.attributes['notes']) == 1)
# basic testing: only make sure that the methods exist
mr.commits()
mr.changes()
-mr.participants() # not yet available
+assert(mr.participants())
mr.merge()
admin_project.branches.delete('branch1')