mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fixed comparison with binary string
This commit is contained in:
@@ -453,7 +453,7 @@ def __assert_foo_exported(commands):
|
||||
command = ["bash", "-c", "%s; echo \"$FOO\"" % "".join(commands)]
|
||||
process = Popen(command, stdout=PIPE)
|
||||
output = process.communicate()[0].strip()
|
||||
assert output == 'bar', "Command %s exports FOO as %s, not bar" % (command, output)
|
||||
assert output == b'bar', "Command %s exports FOO as %s, not bar" % (command, output)
|
||||
|
||||
|
||||
def __setup_galaxy_package_dep(base_path, name, version, contents=""):
|
||||
|
||||
Reference in New Issue
Block a user