mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
remove email script test line about UTC stuff
This commit is contained in:
parent
e0d1f63c08
commit
b80e0507fe
@ -48,9 +48,6 @@ class TestEmailScript(BaseTest):
|
||||
self.assertEqual(db_emails[0].sender, workflow_api.next_task.data['email_model']['sender'])
|
||||
self.assertEqual(db_emails[0].subject, workflow_api.next_task.data['email_model']['subject'])
|
||||
|
||||
# Make sure timestamp is UTC
|
||||
self.assertEqual(db_emails[0].timestamp.tzinfo, datetime.timezone.utc)
|
||||
|
||||
@patch('crc.services.email_service.EmailService.add_email')
|
||||
def test_email_raises_exception(self, mock_response):
|
||||
self.load_example_data()
|
||||
|
Loading…
x
Reference in New Issue
Block a user