Total Complexity | 2 |
Total Lines | 9 |
Duplicated Lines | 0 % |
1 | import unittest |
||
7 | class TestPlayerBase(unittest.TestCase): |
||
8 | module = player |
||
9 | app = browsepy.app |
||
10 | |||
11 | @classmethod |
||
12 | def setUpClass(cls): |
||
13 | player_module = TestPlayerBase.module |
||
14 | if not player_module.player.name in cls.app.blueprints: |
||
15 | player_module.register_plugin(cls.app.extensions['plugin_manager']) |
||
16 | |||
46 |