Page MenuHomeSoftware Heritage

save_origin_webhooks: Fix tests when building debian buster package
ClosedPublic

Authored by anlambert on Nov 8 2022, 11:04 AM.

Details

Summary

Content type sent by django test client on debian buster is equal to
'application/json; charset=None' so tests were failing.

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32739
Build 51294: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 51293: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8819 (id=31798)

Rebasing onto d507af4e04...

Current branch diff-target is up to date.
Changes applied before test
commit d7ac190db7086212dcdde8445df2be717a54e1b9
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Nov 8 11:02:31 2022 +0100

    save_origin_webhooks: Fix tests when building debian buster package
    
    Content type sent by django test client on debian buster is equal to
    'application/json; charset=None' so tests were failing.

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

This revision is now accepted and ready to land.Nov 8 2022, 2:14 PM