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

Function test_parse_with_prefix

tests/test_irc_dpi.py:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def test_parse_with_prefix():
20 prefix, cmd, params = parse_irc_line(":server.example 001 nick :Welcome!")
21 assert prefix == "server.example"
22 assert cmd == "001"
23 assert params == ["nick", "Welcome!"]
24
25
26def test_parse_trailing_with_spaces():

Callers

nothing calls this directly

Calls 1

parse_irc_lineFunction · 0.90

Tested by

no test coverage detected