Conditions | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | class TestModules(): |
||
5 | def testExtension(self): |
||
6 | import bot |
||
7 | import confman |
||
8 | from modules.basemodule import BaseModule |
||
9 | b = bot.Bot(confman.ConfManager("pybotrc"), "zero9f9.com", True) |
||
10 | |||
11 | class testExtended(BaseModule): |
||
12 | def post_init(self): |
||
13 | pass |
||
14 | |||
15 | assert issubclass(testExtended, BaseModule) |
||
16 |