Conditions | 1 |
Total Lines | 19 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
28 | def create_processor(): |
||
29 | http_config = HttpConfig( |
||
30 | host='127.0.0.1', |
||
31 | port='8080', |
||
32 | api_tokens=set(), |
||
33 | channel_tokens_to_channel_names={}, |
||
34 | ) |
||
35 | |||
36 | irc_config = IrcConfig( |
||
37 | server=None, |
||
38 | nickname='nick', |
||
39 | realname='Nick', |
||
40 | commands=[], |
||
41 | channels=set(), |
||
42 | ) |
||
43 | |||
44 | config = Config(log_level=None, http=http_config, irc=irc_config) |
||
45 | |||
46 | return Processor(config) |
||
47 |