1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | class TestBigtopUnit(unittest.TestCase):
'''
Unit tests for Bigtop class.
'''
@classmethod
def setUpClass(cls):
cls.mocked_modules, cls.charms_patcher = mock_modules('charms.layer', ['options'])
from charms.layer.apache_bigtop_base import Bigtop
cls.Bigtop = Bigtop
@classmethod
def tearDownClass(cls):
cls.charms_patcher.stop()
|