summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-11-03 09:52:21 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-11-03 09:53:43 +0100
commit2c6c929f78dfda92d5ae93235bb9065d289a68cc (patch)
tree104a45665457829e785a07fad27236cbbb57e3f2 /tools/python_test_v4.py
parent74623cf38d20fe93183cd3721b751796019ab98c (diff)
downloadgitlab-update/docker-image.tar.gz
Use the pythongitlab/test-python-gitlab docker image for testsupdate/docker-image
This images is updated to the latest GitLab CE. Fix the diff() test to match the change in the API output.
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 79a78bc..133aeb3 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -390,7 +390,7 @@ data = {
]
}
admin_project.commits.create(data)
-assert('---' in admin_project.commits.list()[0].diff()[0]['diff'])
+assert('@@' in admin_project.commits.list()[0].diff()[0]['diff'])
# commit status
commit = admin_project.commits.list()[0]