remove email script test line about UTC stuff

This commit is contained in:
alicia pritchett 2021-10-28 15:49:53 -04:00
parent e0d1f63c08
commit b80e0507fe
1 changed files with 0 additions and 3 deletions

View File

@ -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].sender, workflow_api.next_task.data['email_model']['sender'])
self.assertEqual(db_emails[0].subject, workflow_api.next_task.data['email_model']['subject']) 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') @patch('crc.services.email_service.EmailService.add_email')
def test_email_raises_exception(self, mock_response): def test_email_raises_exception(self, mock_response):
self.load_example_data() self.load_example_data()