Commit 3557884b authored by Roque Porchetto's avatar Roque Porchetto

Trying logs in tests.

parent a4632213
......@@ -6,6 +6,7 @@ from DateTime import DateTime
import numpy as np
import math
import base64
from Products.ERP5Type.Log import log
class TestDataIngestion(SecurityTestCase):
......@@ -103,6 +104,7 @@ class TestDataIngestion(SecurityTestCase):
self.tic()
def test_full_data_ingestion(self):
log('LOG! Running test test_full_data_ingestion')
reference = self.getRandomReference()
ingestion_policy = self.getIngestionPolicy(reference, self.INGESTION_SCRIPT)
data_chunk, nparray = self.generateRawDataBytesAndArray()
......@@ -121,6 +123,7 @@ class TestDataIngestion(SecurityTestCase):
def test_data_ingestion_splitted_file(self):
log('LOG! Running test test_data_ingestion_splitted_file')
reference = self.getRandomReference()
ingestion_policy = self.getIngestionPolicy(reference, self.INGESTION_SCRIPT)
data_chunk, nparray = self.generateRawDataBytesAndArray()
......
......@@ -46,7 +46,7 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W:126, 16: Unused variable \'nparray\' (unused-variable)</string>
<string>W:129, 16: Unused variable \'nparray\' (unused-variable)</string>
</tuple>
</value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment