Skip to content

Commit

Permalink
Check AWAY is not echoed on JOIN
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Sep 3, 2023
1 parent a79c55f commit e8d81f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion irctest/server_tests/away_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def testAwayNotifyOnJoin(self):
self.getMessages(2)

self.joinChannel(2, "#chan")
self.getMessages(2)
self.assertNotIn(
"AWAY",
[m.command for m in self.getMessages(2)],
"joining user got their own away status when they joined",
)

messages = [msg for msg in self.getMessages(1) if msg.command == "AWAY"]
self.assertEqual(
Expand Down

0 comments on commit e8d81f2

Please sign in to comment.