1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-30 08:02:02 +00:00
Files
core/tests/components/habitica/conftest.py

16 lines
347 B
Python

"""Tests for the habitica component."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def disable_plumbum():
"""Disable plumbum in tests as it can cause the test suite to fail.
plumbum can leave behind PlumbumTimeoutThreads
"""
with patch("plumbum.local"), patch("plumbum.colors"):
yield