From 69a7992b66507afecb7b22bf756e282a2747d0f9 Mon Sep 17 00:00:00 2001 From: Florian Ludwig Date: Sun, 21 Mar 2021 17:50:33 +0100 Subject: [PATCH] rename TestPlugin to so it is ignored by pytest --- pyproject.toml | 2 +- tests/plugins/test_manager.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 190cee7..422827c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ hbmqtt_sub = 'hbmqtt.scripts.sub_script:main' [tool.poetry.plugins] [tool.poetry.plugins."hbmqtt.test.plugins"] -"test_plugin" = "tests.plugins.test_manager:TestPlugin" +"test_plugin" = "tests.plugins.test_manager:EmptyTestPlugin" "event_plugin" = "tests.plugins.test_manager:EventTestPlugin" "packet_logger_plugin" = "hbmqtt.plugins.logging:PacketLoggerPlugin" diff --git a/tests/plugins/test_manager.py b/tests/plugins/test_manager.py index fde0f2b..2747ea2 100644 --- a/tests/plugins/test_manager.py +++ b/tests/plugins/test_manager.py @@ -5,8 +5,6 @@ import unittest import logging import asyncio -import pytest - from hbmqtt.plugins.manager import PluginManager formatter = (