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

Function test_parse_simple_command

tests/test_irc_dpi.py:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10# ---------------------------------------------------------------------------
11
12def test_parse_simple_command():
13 prefix, cmd, params = parse_irc_line("NICK Wiz")
14 assert prefix == ""
15 assert cmd == "NICK"
16 assert params == ["Wiz"]
17
18
19def test_parse_with_prefix():

Callers

nothing calls this directly

Calls 1

parse_irc_lineFunction · 0.90

Tested by

no test coverage detected