diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2020-04-22 23:01:55 +0200 |
|---|---|---|
| committer | Nejc Habjan <hab.nejc@gmail.com> | 2020-04-22 23:31:35 +0200 |
| commit | dc382fe3443a797e016f8c5f6eac68b7b69305ab (patch) | |
| tree | 3f8bb49ffad00924720ebbe5ca6baaebe1fd0ef9 /tools | |
| parent | 9d66cb3ccc8d9edac68380b4b8ff285a9782e698 (diff) | |
| download | gitlab-dc382fe3443a797e016f8c5f6eac68b7b69305ab.tar.gz | |
chore: bring commit signatures up to date with 12.10
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/cli_test_v4.sh | 6 | ||||
| -rw-r--r-- | tools/python_test_v4.py | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/cli_test_v4.sh b/tools/cli_test_v4.sh index 395289a..ac43837 100755 --- a/tools/cli_test_v4.sh +++ b/tools/cli_test_v4.sh @@ -113,11 +113,11 @@ testcase "revert commit" ' --id "$COMMIT_ID" --branch master ' -# Test commit GPG signature -testcase "attempt to get GPG signature of unsigned commit" ' +# Test commit signature +testcase "attempt to get signature of unsigned commit" ' OUTPUT=$(GITLAB project-commit signature --project-id "$PROJECT_ID" \ --id "$COMMIT_ID" 2>&1 || exit 0) - echo "$OUTPUT" | grep -q "404 GPG Signature Not Found" + echo "$OUTPUT" | grep -q "404 Signature Not Found" ' # Test project labels diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py index 7145bc1..7276e6e 100644 --- a/tools/python_test_v4.py +++ b/tools/python_test_v4.py @@ -500,13 +500,13 @@ commit = admin_project.commits.list()[0] # assert commit.refs() # assert commit.merge_requests() -# commit GPG signature (for unsigned commits) +# commit signature (for unsigned commits) # TODO: reasonable tests for signed commits? try: signature = commit.signature() except gitlab.GitlabGetError as e: error_message = e.error_message -assert error_message == "404 GPG Signature Not Found" +assert error_message == "404 Signature Not Found" # commit comment commit.comments.create({"note": "This is a commit comment"}) |
