Page MenuHomeSoftware Heritage

api.tests.test_async: Simplify fixture setup
ClosedPublic

Authored by ardumont on Oct 19 2020, 9:58 AM.

Details

Summary

No need to repeat the cli instantiation in each asyncio test

Test Plan

tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4298 (id=15186)

Rebasing onto 1657fb827f...

Current branch diff-target is up to date.
Changes applied before test
commit 7f928a07d91460efbbfbc6c5264a4fdd60e58be2
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Sun Oct 18 10:25:01 2020 +0200

    api.tests.test_async: Simplify fixture setup

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/92/ for more details.

This revision is now accepted and ready to land.Oct 19 2020, 12:44 PM