Page MenuHomeSoftware Heritage

tests/views: Prevent code execution when importing module
ClosedPublic

Authored by anlambert on Tue, Jun 30, 12:39 PM.

Details

Summary

This can lead to nasty side effects otherwise.

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

anlambert created this revision.Tue, Jun 30, 12:39 PM
ardumont accepted this revision.Tue, Jun 30, 12:51 PM
This revision is now accepted and ready to land.Tue, Jun 30, 12:51 PM

Build is green

Patch application report for D3375 (id=11983)

Rebasing onto d4e37c158b...

Current branch diff-target is up to date.
Changes applied before test
commit fcd860492852c327e000dbbcd3048a6fea483f0d
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Jun 30 12:38:49 2020 +0200

    tests/views: Prevent code execution when importing module
    
    This can lead to nasty side effects otherwise.

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