Conditions | 1 |
Total Lines | 17 |
Code Lines | 12 |
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 | ) |
||
34 | |||
35 | irc_config = IrcConfig( |
||
36 | server=None, |
||
37 | nickname='nick', |
||
38 | realname='Nick', |
||
39 | channels=set(), |
||
40 | ) |
||
41 | |||
42 | config = Config(log_level=None, http=http_config, irc=irc_config) |
||
43 | |||
44 | return Processor(config) |
||
45 |