Conditions | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
11 | def test_channel_enabling_on_join_signal(): |
||
12 | processor = create_processor() |
||
13 | |||
14 | assert '#example1' not in processor.enabled_channel_names |
||
15 | assert '#example2' not in processor.enabled_channel_names |
||
16 | |||
17 | irc_channel_joined.send(channel_name='#example1') |
||
18 | |||
19 | assert '#example1' in processor.enabled_channel_names |
||
20 | assert '#example2' not in processor.enabled_channel_names |
||
21 | |||
22 | irc_channel_joined.send(channel_name='#example2') |
||
23 | |||
24 | assert '#example1' in processor.enabled_channel_names |
||
25 | assert '#example2' in processor.enabled_channel_names |
||
26 | |||
45 |