forked from rickypc/robotframework-imaplibrary
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
Walk Multipart Email is failing with error:
TypeError: initial_value must be str or None, not bytes
Wait For Email is returning index as bytes but converting the index into string doesn't help.
${latest}= Wait For Email subject=Welcome! timeout=60
${type}= Evaluate type($latest)
${latest_str}= Convert To String ${latest}
${type}= Evaluate type($latest_str)
${parts}= Walk Multipart Email ${latest_str}
20191121 10:17:59.267 : INFO : ${latest} = 12
20191121 10:17:59.284 : INFO : ${type} = <class 'bytes'>
20191121 10:17:59.288 : INFO : ${latest_str} = 12
20191121 10:17:59.292 : INFO : ${type} = <class 'str'>
20191121 10:17:59.533 : FAIL : TypeError: initial_value must be str or None, not bytes
Metadata
Metadata
Assignees
Labels
No labels