Admin: Fix leftover state change in testPart

it affects Channel's testPart
This commit is contained in:
Valentin Lorentz 2024-04-18 19:47:22 +02:00
parent c8030be71a
commit 943f39745d

View File

@ -87,6 +87,7 @@ class AdminTestCase(PluginTestCase):
ircdb.users.delUser(u.id)
def testJoin(self):
try:
m = self.getMsg('join #foo')
self.assertEqual(m.command, 'JOIN')
self.assertEqual(m.args[0], '#foo')
@ -94,6 +95,8 @@ class AdminTestCase(PluginTestCase):
self.assertEqual(m.command, 'JOIN')
self.assertEqual(m.args[0], '#foo')
self.assertEqual(m.args[1], 'key')
finally:
self.getMsg('part #foo')
def testNick(self):
try: