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
Branch
ensure-correct-tests-settings
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 31324
Build 49002: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 49001: arc lint + arc unit

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