diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-11-03 09:52:21 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-11-03 09:53:43 +0100 |
commit | 2c6c929f78dfda92d5ae93235bb9065d289a68cc (patch) | |
tree | 104a45665457829e785a07fad27236cbbb57e3f2 | |
parent | 74623cf38d20fe93183cd3721b751796019ab98c (diff) | |
download | gitlab-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.
-rwxr-xr-x | tools/build_test_env.sh | 2 | ||||
-rw-r--r-- | tools/python_test_v4.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_test_env.sh b/tools/build_test_env.sh index ebfb80a..3185f72 100755 --- a/tools/build_test_env.sh +++ b/tools/build_test_env.sh @@ -77,7 +77,7 @@ cleanup() { } try docker run --name gitlab-test --detach --publish 8080:80 \ - --publish 2222:22 gpocentek/test-python-gitlab:latest >/dev/null + --publish 2222:22 pythongitlab/test-python-gitlab:latest >/dev/null LOGIN='root' PASSWORD='5iveL!fe' 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] |