Skip to content
Snippets Groups Projects
Commit 478344c8 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Enable debug logging in flamenco_worker.commands while testing commands

parent 4a8138d1
Branches
Tags
No related merge requests found
import asyncio
import logging
from unittest.mock import Mock, call
from tests.abstract_worker_test import AbstractWorkerTest
......@@ -18,6 +19,8 @@ class AbstractCommandTest(AbstractWorkerTest):
self.fworker.register_log = CoroMock()
self.fworker.register_task_update = CoroMock()
logging.getLogger('flamenco_worker.commands').setLevel(logging.DEBUG)
def tearDown(self):
# This is required for subprocesses, otherwise unregistering signal handlers goes wrong.
self.loop.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment