Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1500 from mfalesni/tracer-default-disable
Browse files Browse the repository at this point in the history
Disable function tracer by default
  • Loading branch information
dajohnso committed Jan 9, 2015
2 parents 4fc5bc6 + ae2feca commit 9a2fe35
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cfme/fixtures/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,11 @@ def load():


def pytest_addoption(parser):
parser.addoption("--no-tracer", dest="tracer", action="store_false", default=True,
help="Disable the function tracer")
# Keeping due to compatibility
parser.addoption("--no-tracer", dest="no_tracer_deprecated", action="store_false", default=True,
help="Disable the function tracer (DEPRECATED - default off!)")
parser.addoption("--tracer", dest="tracer", action="store_true", default=False,
help="Enable the function tracer")


def pytest_configure(config):
Expand Down

0 comments on commit 9a2fe35

Please sign in to comment.