Page MenuHomeSoftware Heritage

settings/tests: Ensure swh_extra_django_apps correct value for tests
ClosedPublic

Authored by anlambert on Sep 5 2022, 4:44 PM.

Details

Summary

Django settings can be overriden by values contained in local configuration
file so ensure correct value of swh_extra_django_apps in tests settings
to avoid bad surprises when running tests.

Also sort django application names in lexicographical order.

Related to T4398

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 D8395 (id=30292)

Rebasing onto e96bc074f8...

Current branch diff-target is up to date.
Changes applied before test
commit 4df8c0e38c439ce915839fc585cff7f6d0d09f0c
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Sep 5 16:39:15 2022 +0200

    settings/tests: Ensure swh_extra_django_apps correct value for tests
    
    Django settings can be overriden by values contained in local configuration
    file so ensure correct value of swh_extra_django_apps in tests settings
    to avoid bad surprises when running tests.
    
    Also sort django application names in lexicographical order.
    
    Related to T4398

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

This revision is now accepted and ready to land.Sep 5 2022, 4:57 PM