You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
assert "not authorized to upload versions to this collection" in str(response.content)
def test_gpg_detection(self):
token = self.login('admin', 'admin')
response = self.post("/api/alpha/repository/collection/iwa-ait/version", "hello this is not a gpg data", auth=f'Bearer {token}')
assert "cannot upload version. cannot upload file, cannot copy stream, error: first chunk of uploaded data does not contain a valid GPG header" in str(response.content)