From 95292594411a7576a8652dfd71596bc949213672 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Fri, 21 Feb 2020 17:48:37 -0500 Subject: [PATCH] Enable debug logging for tests --- semver/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/semver/tests.py b/semver/tests.py index 1000e0e..10b4973 100644 --- a/semver/tests.py +++ b/semver/tests.py @@ -1,5 +1,5 @@ import unittest, os, subprocess, semver - +from semver.logger import logging, logger, console_logger from semver import get_version @@ -73,6 +73,8 @@ def create_git_environment(): subprocess.run(['git', 'remote', 'add', 'origin', os.getcwd()+'/.git']) if __name__ == "__main__": + console_logger.setLevel(logging.DEBUG) + subprocess.run(['rm', '-rf', test_directory]) subprocess.run(['mkdir', test_directory]) os.chdir(test_directory)