Skip to content
Snippets Groups Projects
Commit 900921dc authored by Stefano Borini's avatar Stefano Borini
Browse files

Fix for python3 test

parent 5ffbb653
No related branches found
No related tags found
1 merge request!155Added stricter controls over the returned values by the datasource.
......@@ -88,7 +88,7 @@ class TestCoreEvaluationDriver(unittest.TestCase):
self,
RuntimeError,
"The run method of data source test_data_source must"
" return a list. It returned instead <type 'str'>. Fix"
" return a list. It returned instead <.* 'str'>. Fix"
" the run\(\) method to return the appropriate entity."):
driver.application_started()
......@@ -104,7 +104,7 @@ class TestCoreEvaluationDriver(unittest.TestCase):
RuntimeError,
"The result list returned by DataSource test_data_source"
" contains an entry that is not a DataValue."
" An entry of type <type 'str'> was instead found"
" An entry of type <.* 'str'> was instead found"
" in position 0."
" Fix the DataSource.run\(\) method to"
" return the appropriate entity."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment