Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telecom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
telecom
Commits
3557884b
Commit
3557884b
authored
Jun 19, 2017
by
Roque Porchetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying logs in tests.
parent
a4632213
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_wendelin_telecom_ingestion/TestTemplateItem/portal_components/test.erp5.wendelin.testDataIngestion.py
...portal_components/test.erp5.wendelin.testDataIngestion.py
+3
-0
bt5/erp5_wendelin_telecom_ingestion/TestTemplateItem/portal_components/test.erp5.wendelin.testDataIngestion.xml
...ortal_components/test.erp5.wendelin.testDataIngestion.xml
+1
-1
No files found.
bt5/erp5_wendelin_telecom_ingestion/TestTemplateItem/portal_components/test.erp5.wendelin.testDataIngestion.py
View file @
3557884b
...
...
@@ -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
()
...
...
bt5/erp5_wendelin_telecom_ingestion/TestTemplateItem/portal_components/test.erp5.wendelin.testDataIngestion.xml
View file @
3557884b
...
...
@@ -46,7 +46,7 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:12
6
, 16: Unused variable \'nparray\' (unused-variable)
</string>
<string>
W:12
9
, 16: Unused variable \'nparray\' (unused-variable)
</string>
</tuple>
</value>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment