MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / test_parse_trailing_with_spaces

Function test_parse_trailing_with_spaces

tests/test_irc_dpi.py:26–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_parse_trailing_with_spaces():
27 prefix, cmd, params = parse_irc_line("PRIVMSG #chan :hello world from bot")
28 assert cmd == "PRIVMSG"
29 assert params == ["#chan", "hello world from bot"]
30
31
32def test_parse_empty_returns_none():

Callers

nothing calls this directly

Calls 1

parse_irc_lineFunction · 0.90

Tested by

no test coverage detected