Completed
Push — master ( 3fb799...a93322 )
by Matt
01:03
created

testExtended   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %
Metric Value
dl 0
loc 3
rs 10
wmc 1
1
class TestModules():
2
  def testBaseModule(self):
3
    from modules.basemodule import BaseModule
4
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