Added ability to read emails from *.txt archives

Change-Id: I34095519497f1a0c85b6d640d5457af7ea4df9f9
This commit is contained in:
Sergey Nikitin
2019-08-11 14:17:01 +04:00
parent 8cf7cd0950
commit 639dc820ce
5 changed files with 21 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ From: sorlando at nicira.com (Salvatore Orlando)
def test_log(self, mock_uri_content_changed, mock_get_mail_archive_links,
mock_read_gzip_from_uri):
mock_uri_content_changed.return_value = True
mock_get_mail_archive_links.return_value = ['link']
mock_get_mail_archive_links.return_value = ['link.txt.gz']
mock_read_gzip_from_uri.return_value = EMAIL_CONTENT
mock_rsi = mock.Mock()