From 0c868423337efbcb120251b79b71dd28d42ef185 Mon Sep 17 00:00:00 2001 From: dgw Date: Mon, 4 Sep 2023 00:35:19 -0600 Subject: [PATCH] test: fix incorrect capability NAK test names It's not much, but it's honest work. I was going to do some type-hint cleanup too, but there are plenty of warnings in the `test/` directory because we haven't been checking it. That sort of work should be done in its own PR(s) rather than as incidental cleanup "because I'm already touching this file". --- test/irc/test_irc_capabilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/irc/test_irc_capabilities.py b/test/irc/test_irc_capabilities.py index d4b64fb84..b24c9aa1f 100644 --- a/test/irc/test_irc_capabilities.py +++ b/test/irc/test_irc_capabilities.py @@ -221,7 +221,7 @@ def test_capabilities_nak_trailing_space(mockbot, triggerfactory): assert not manager.enabled -def test_capabilities_nack_multiple(mockbot, triggerfactory): +def test_capabilities_nak_multiple(mockbot, triggerfactory): raw = 'CAP * NAK :away-notify account-tag' wrapped = triggerfactory.wrapper(mockbot, raw) manager = Capabilities() @@ -246,7 +246,7 @@ def test_capabilities_nack_multiple(mockbot, triggerfactory): assert not manager.enabled -def test_capabilities_ack_and_nack(mockbot, triggerfactory): +def test_capabilities_ack_and_nak(mockbot, triggerfactory): manager = Capabilities() # ACK a single CAP