gitlab: it's a tar.gz not a zip

This commit is contained in:
Loic Dachary 2021-01-28 01:30:11 +01:00
parent cae5a8f785
commit 651e6e7af3
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,6 @@ def test_project_export(tmpdir):
gitlab.login('root', 'Wrobyak4')
gitlab.project_delete('root', 'testproject')
gitlab.project_create('root', 'testproject')
exported = f'{tmpdir}/testproject.zip'
exported = f'{tmpdir}/testproject.tar.gz'
gitlab.project_export('root', 'testproject', exported)
assert gzip.open(exported)