summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-11-11 15:11:12 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-11-11 15:11:12 +0100
commit397d67745f573f1d6bcf9399e3ee602640b019c8 (patch)
treeee03fac11372e278229f54b4a5d4669bbd171a36 /tools/python_test_v4.py
parentad35482bdeb587ec816cac4f2231b93fcdd0066a (diff)
downloadgitlab-397d67745f573f1d6bcf9399e3ee602640b019c8.tar.gz
Add support for user_agent_detail (issues)
https://docs.gitlab.com/ce/api/issues.html#get-user-agent-details
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 cb199b7..f126719 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -435,6 +435,7 @@ note = issue1.notes.create({'body': 'This is an issue note'})
assert(len(issue1.notes.list()) == 1)
note.delete()
assert(len(issue1.notes.list()) == 0)
+assert(isinstance(issue1.user_agent_detail(), dict))
# tags
tag1 = admin_project.tags.create({'tag_name': 'v1.0', 'ref': 'master'})