HomeSoftware Heritage

test_server: Fix exception structure

Description

test_server: Fix exception structure

swh.core (0.9.0) changed the remote exception serialization handling.

So the current build [1] is broken as it needs adaptation to retrieve the
exception information at its first level.

This adapts accordingly the exception handling in those failing tests.

[1] https://jenkins.softwareheritage.org/job/DVAU/job/tests/881/

Details

Provenance
ardumontAuthored on Nov 23 2020, 9:48 AM
ardumontPushed on Nov 23 2020, 10:42 AM
Differential Revision
D4553: vault: test_server: Fix exception structure
Parents
rDVAU29db82c65047: conftest: Explicitely declare aiohttp pytest plugin use
Branches
Unknown
Tags
Unknown
References
tag: v0.3.4
Build Status
Buildable 17359
Build 26816: test-and-buildJenkins console · Jenkins