From ddacff3bdccfca690902ad36c3c1c1a4975879b7 Mon Sep 17 00:00:00 2001 From: Vitiko Date: Mon, 17 Jan 2022 20:23:11 -0400 Subject: [PATCH] no log: update conftest.py --- tests/subliminal_patch/conftest.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/subliminal_patch/conftest.py b/tests/subliminal_patch/conftest.py index e1e35f661..e9c539a62 100644 --- a/tests/subliminal_patch/conftest.py +++ b/tests/subliminal_patch/conftest.py @@ -1,11 +1,17 @@ # -*- coding: utf-8 -*- -import pytest +import logging import os +import pytest + from subliminal_patch.core import Movie, Episode +logging.getLogger("vcr").setLevel(logging.WARNING) +logging.getLogger("rebulk").setLevel(logging.WARNING) + + @pytest.fixture(scope="module") def vcr_cassette_dir(request): return os.path.join("tests/subliminal_patch/cassettes", request.module.__name__)