Page MenuHomeSoftware Heritage

Make sure we only connect to SMTP on-demand
AbandonedPublic

Authored by olasd on Apr 26 2018, 1:50 PM.

Details

Reviewers
None
Summary

When running the tests, we expect the local MTA to be working. That's not something that we can assume.

The notification tests all mock the SMTP object to check whether it's called
properly, so we don't really need to connect on backend initialization.

Test Plan

Run tests with local MTA disabled, make sure they still pass.

Group Reviewers: Reviewers

Diff Detail

Repository
rDVAU Software Heritage Vault
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1202
Build 1546: arc lint + arc unit