summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/integration/shell.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index a4f9e4f7c..4f08504c9 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -242,10 +242,7 @@ def test_host_files_missing(cli, datafiles, optional):
project = str(datafiles)
ponyfile = os.path.join(project, 'files', 'shell-mount', 'horsy.txt')
- if optional == "optional":
- option = True
- else:
- option = False
+ option = (optional == "optional")
# Assert that we did successfully run something in the shell anyway
result = execute_shell(cli, project, ['echo', 'Hello'], config={