Split EmailTestHelper out from test_email_sending.py

Review Request #12693 — Created Oct. 20, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

We have a helper class that handles much of the setup required to test
that reviews and review requests send emails, but this was contained
within the test case file where it was used. I need to use it elsewhere,
so I've split it out into a new file to import from.

Used the helper from a new test file.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Split EmailTestHelper out from test_email_sending.py
We have a helper class that handles much of the setup required to test that reviews and review requests send emails, but this was contained within the test case file where it was used. I need to use it elsewhere, so I've split it out into a new file to import from. Testing Done: Used the helper from a new test file.
1b80de3323b445508fd9d4cb28c5ef5333e60f88 David Trowbridge
reviewboard/notifications/tests/mixins.py
reviewboard/notifications/tests/test_email_sending.py
Loading...