Skip to content

Commit

Permalink
fix: vvv
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 27, 2024
1 parent 13ea952 commit 9430667
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ape/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ def is_module(v):
gas_tracker = GasTracker(config_wrapper)
coverage_tracker = CoverageTracker(config_wrapper)

# Enable verbose output if stdout capture is disabled
config.option.verbose = config.getoption("capture") == "no"
if not config.option.verbose:
# Enable verbose output if stdout capture is disabled
config.option.verbose = config.getoption("capture") == "no"
# else: user has already changes verbosity to an equal or higher level; avoid downgrading.

# Register the custom Ape test runner
runner = PytestApeRunner(config_wrapper, receipt_capture, gas_tracker, coverage_tracker)
Expand Down
1 change: 1 addition & 0 deletions tests/integration/cli/test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def test_vvv(runner, ape_cli):
messing up Ape.
"""
result = runner.invoke(ape_cli, ("test", "-vvv", "--fixtures"), catch_exceptions=False)
breakpoint()
assert result.exit_code == 0, result.output


Expand Down

0 comments on commit 9430667

Please sign in to comment.