Commit 238db1c4 authored by Ivan Tyagov's avatar Ivan Tyagov

Due to recent changes in API (function parameters) we need to adjust tests.

parent 91f59b5d
......@@ -94,7 +94,7 @@ class Test(ERP5TypeTestCase):
# get related Data ingestion
data_ingestion = data_supply.Base_getRelatedObjectList(portal_type='Data Ingestion')[0]
self.assertNotEqual(None, data_ingestion)
data_ingestion_line = [x for x in data_ingestion.objectValues() if x.getReference() == 'out_data_stream'][0]
data_ingestion_line = [x for x in data_ingestion.objectValues() if x.getReference() == 'out_stream'][0]
data_stream = data_ingestion_line.getAggregateValue()
self.assertEqual('Data Stream', data_stream.getPortalType())
......
......@@ -89,7 +89,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>out_data_stream</string> </value>
<value> <string>out_stream</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
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