Page MenuHomeSoftware Heritage

save_origin_webhooks: Fix tests when building debian buster package
ClosedPublic

Authored by anlambert on Tue, Nov 8, 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
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 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.Tue, Nov 8, 2:14 PM