Commit 9ac52814 authored by Vincent Pelletier's avatar Vincent Pelletier

testCMFActivity: Ignore "processing" column value.

This column is not a significant condition for this test. It is an
unreliable transient piece of information intended for a human observer
monitoring activity execution. processing_node is the reliable piece of
information this test should care about.
parent 5f769e52
...@@ -2272,7 +2272,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor): ...@@ -2272,7 +2272,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self.assertEqual(len([message self.assertEqual(len([message
for message in result for message in result
if (message.processing_node>0 and if (message.processing_node>0 and
message.processing==1 and
message.serialization_tag=='test_115')]), message.serialization_tag=='test_115')]),
1) 1)
...@@ -2285,7 +2284,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor): ...@@ -2285,7 +2284,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self.assertEqual(len([message self.assertEqual(len([message
for message in result for message in result
if (message.processing_node>0 and if (message.processing_node>0 and
message.processing==1 and
message.serialization_tag=='')]), message.serialization_tag=='')]),
1) 1)
finally: finally:
......
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