Skip to content

Commit

Permalink
test: fix incorrect capability NAK test names
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
dgw committed Sep 4, 2023
1 parent 495ce9c commit 0c86842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/irc/test_irc_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit 0c86842

Please sign in to comment.