Skip to content

Commit

Permalink
Pass port argument as individual strings
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Apr 23, 2014
1 parent b991b17 commit 3a3fc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_zap.py
Expand Up @@ -165,7 +165,7 @@ def pytest_sessionstart(session):
# Run as a daemon
zap_script.append('-daemon')

zap_script.append('-port %s' % session.config.option.zap_port)
zap_script.extend(['-port', str(session.config.option.zap_port)])

#TODO Support user directory for ZAP path
if session.config.option.zap_path:
Expand Down

0 comments on commit 3a3fc7f

Please sign in to comment.