Skip to content

Commit

Permalink
tests: no longer depends on irc3-plugins-test
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed Dec 25, 2024
1 parent 85f27aa commit cc71a71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
'aiocron',
'redis',
'pytest',
'irc3-plugins-test',
]


Expand Down
12 changes: 0 additions & 12 deletions tests/test_bot.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down Expand Up @@ -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)

0 comments on commit cc71a71

Please sign in to comment.