Cleanup from test email script changes. Removed commented piece of code containing my private email address.
This commit is contained in:
parent
06318c87b1
commit
052ee40238
|
@ -2,20 +2,6 @@ from tests.base_test import BaseTest
|
|||
from crc import mail
|
||||
|
||||
|
||||
# class TestEmailDirectly(BaseTest):
|
||||
#
|
||||
# def test_email_directly(self):
|
||||
# recipients = ['michaelc@cullerton.com']
|
||||
# sender = 'michaelc@cullerton.com'
|
||||
# with mail.record_messages() as outbox:
|
||||
# mail.send_message(subject='testing',
|
||||
# body='test',
|
||||
# recipients=recipients,
|
||||
# sender=sender)
|
||||
# assert len(outbox) == 1
|
||||
# assert outbox[0].subject == "testing"
|
||||
|
||||
|
||||
class TestEmailScript(BaseTest):
|
||||
|
||||
def test_email_script(self):
|
||||
|
@ -57,7 +43,6 @@ class TestEmailScript(BaseTest):
|
|||
with self.assertRaises(AssertionError):
|
||||
self.complete_form(workflow, first_task, {'email_address': 'test@example'})
|
||||
|
||||
|
||||
def test_bad_email_address_2(self):
|
||||
workflow = self.create_workflow('email_script')
|
||||
|
||||
|
|
Loading…
Reference in New Issue