Decode test names in names-file

This commit is contained in:
twangboy 2017-03-21 17:12:18 -06:00
parent 6035ff1459
commit 8eefbe8111

View File

@ -306,7 +306,7 @@ class SaltTestingParser(optparse.OptionParser):
with open(self.options.names_file, 'rb') as fp_:
lines = []
for line in fp_.readlines():
lines.append(line.strip())
lines.append(line.strip().decode())
if self.options.name:
self.options.name.extend(lines)
else: