Skip to content
Snippets Groups Projects
Commit 1a1762c3 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

readd the logging

parent 205dd393
No related branches found
No related tags found
1 merge request!28improve machine readable logging
Pipeline #369794 passed
......@@ -5,15 +5,15 @@ import os
import shutil
import subprocess
from pathlib import Path
import logging
import pytest
mod = importlib.import_module("mpsd-software-environment")
# set loglevel to debug - useful for understanding problems.
# (if the tests pass, pytest doesn't show any output)
# mod.set_up_logging(loglevel="debug", filename="tests.log")
# logging.debug(f"We have set up logging from {__file__}")
mod.set_up_logging(loglevel="debug", filename="tests.log")
logging.debug(f"We have set up logging from {__file__}")
def create_mock_git_repository(target_directory, create_directory=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment