Page MenuHomeSoftware Heritage

tests: Wrap users creation in pytest fixtures
ClosedPublic

Authored by anlambert on Oct 5 2021, 2:24 PM.

Details

Summary

This improves tests readability while removing code duplication.

Diff Detail

Repository
rDWAPPS Web applications
Branch
users-fixtures
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24225
Build 37808: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 37807: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6411 (id=23312)

Rebasing onto 333ca8259c...

Current branch diff-target is up to date.
Changes applied before test
commit f2765a820add518ac926f50b950a7d392847fc82
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Oct 5 14:16:37 2021 +0200

    tests: Wrap users creation in pytest fixtures

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

This revision is now accepted and ready to land.Oct 5 2021, 2:56 PM