Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 749 | olof | 1 | import logging as log |
| 2 | log.basicConfig(level=log.DEBUG, |
||
| 3 | format='%(asctime)s %(levelname)s %(message)s', |
||
| 4 | filename=__name__ + '.log', |
||
| 5 | filemode='w') |
||
| 6 | import unittest |
||
| 7 | |||
| 8 | class IfComplianceTests(unittest.TestCase): |
||
| 9 | |||
| 10 | def setUp(self): |
||
| 11 | """Call before every test case.""" |
||
| 12 | pass |
||
| 13 | |||
| 14 | def tearDown(self): |
||
| 15 | """Call after every test case.""" |
||
| 16 | pass |
||
| 17 | |||
| 18 | def testA(self): |
||
| 19 | """Test compliance with NodeIfBase |
||
| 20 | Members should be: |
||
| 21 | DEFAULT_CONFIG |
||
| 22 | __init(self, pktHandler, ownerNotifier, optional args) |
||
| 23 | setPktHandler(pktHandler) : None |
||
| 24 | start() : True or False |
||
| 25 | stop() : None |
||
| 26 | running() : True or False if interface is started |
||
| 27 | """ |
||
| 28 | pass |
||
| 29 |