-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows projects to have more control over how Manticore logs are handled. However, this also means that you need to explicitly enable logging in Manticore scripts to see the logs. See `manticore/__main__.py` file changes in this commit. * Initialize Manticore logger for all tests Co-authored-by: kokrui <kokruiwong@gmail.com>
- Loading branch information
Showing
4 changed files
with
64 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import pytest | ||
|
||
from manticore.utils import log | ||
|
||
|
||
@pytest.fixture(scope="session", autouse=True) | ||
def initialize_manticore_logging(request): | ||
"""Initialize Manticore's logger for all tests""" | ||
log.init_logging() |