Ubuntu Pastebin

Paste from petevg at Wed, 29 Jun 2016 21:37:42 +0000

Download as text
 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()
Download as text