From 47d11be258113ccae766586f27ac2e631105e9f8 Mon Sep 17 00:00:00 2001 From: Gael Pasgrimaud Date: Wed, 25 Dec 2024 10:27:21 +0100 Subject: [PATCH] tests: no longer depends on irc3-plugins-test --- setup.py | 1 - tests/test_bot.py | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/setup.py b/setup.py index b6aef8a..9b3c1f7 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,6 @@ 'aiocron', 'redis', 'pytest', - 'irc3-plugins-test', ] diff --git a/tests/test_bot.py b/tests/test_bot.py index d8d7505..5b280a4 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- from irc3.testing import BotTestCase from irc3.testing import patch -from irc3_plugins_test import test import logging @@ -148,14 +147,3 @@ def test_SIGINT(self, sleep): def test_SIGHUP(self): bot = self.callFTU() bot.SIGHUP() - - def test_pkg_resources_entry_points(self): - config = dict(includes=['irc3.plugins.test']) - bot = self.callFTU(**config) - plugin = bot.get_plugin(test.test) - self.assertEqual(plugin, 'success') - - def test_pkg_resources_entry_points_exception(self): - config = dict(includes=['irc3.plugins.badtest']) - with self.assertRaises(LookupError): - self.callFTU(**config)