remove unicode from code
In Python 3, all strings are represented in Unicode.In Python 2 are stored internally as 8-bit ASCII, hence it is required to attach 'u' to make it Unicode. It is no longer necessary now.' Change-Id: Ie3a439f0113423771bee7fb36b353df0ed68892e
This commit is contained in:
parent
46421e9717
commit
ceb30381d4
@ -23,10 +23,10 @@ from mistral.tests.unit.api import base
|
||||
|
||||
WORKBOOKS = [
|
||||
{
|
||||
u'name': u'my_workbook',
|
||||
u'description': u'My cool Mistral workbook',
|
||||
u'scope': None,
|
||||
u'tags': [u'deployment', u'demo']
|
||||
'name': 'my_workbook',
|
||||
'description': 'My cool Mistral workbook',
|
||||
'scope': None,
|
||||
'tags': ['deployment', 'demo']
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -160,7 +160,7 @@ class RunActionEngineTest(base.EngineTestCase):
|
||||
action_ex = db_api.get_action_execution(action_ex.id)
|
||||
|
||||
self.assertEqual(states.SUCCESS, action_ex.state)
|
||||
self.assertEqual({'result': u'Hello, John Doe!'}, action_ex.output)
|
||||
self.assertEqual({'result': 'Hello, John Doe!'}, action_ex.output)
|
||||
|
||||
action_ex = self.engine.start_action(
|
||||
'concat2',
|
||||
|
Loading…
x
Reference in New Issue
Block a user