HomeSoftware Heritage

tests: Fix failing ones after new pytest-flask release

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

tests: Fix failing ones after new pytest-flask release

pytest-flask removed the url method of its LiveServer class wrapped by
the live_server fixture.

So use recommended way to get an URL when using Flask, this requires
adding a dummy root endpoint to the API in order to get its base URL.

Details

Provenance
anlambertAuthored on Mar 1 2021, 5:53 PM
anlambertPushed on Mar 2 2021, 10:52 AM
Differential Revision
D5178: tests: Fix failing ones after new pytest-flask release and migration to CoreSWHID
Build Status
Buildable 19601
Build 30416: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.