Skip to content

Commit

Permalink
API is now enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Apr 24, 2014
1 parent 098477c commit a3f92ec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pytest_zap.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,6 @@ def pytest_sessionstart(session):
user_dir.appendChild(document.createTextNode(zap_home))

if session.config.option.zap_interactive:
# Enable API
enabled = document.createElement('enabled')
enabled.appendChild(document.createTextNode('true'))
api = document.createElement('api')
api.appendChild(enabled)
config.appendChild(api)

# Disable update checking
start = config.getElementsByTagName('start')[0]
check_for_updates = document.createElement('checkForUpdates')
Expand Down

0 comments on commit a3f92ec

Please sign in to comment.