Change-Id: I79f525bf8abb5bc0149b54e13921ed1ab280c447
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Common constants and functions for the robot framework.
'''
+
def collection_should_contain(collection, *members):
"""
Fail if not every members is in the collection.
else:
return True
+
def combine_strings(*strings):
"""
Combines the given `strings` together and returns the result.
"""
result = ''
for s in strings:
- if isinstance(s,str) or isinstance(s,unicode):
+ if isinstance(s, str) or isinstance(s, unicode):
result += s
if result == '':
return None