Пример #1
0
 def setUp(self):
     self.subprocess_mock_patch = mock.patch('subprocess.Popen')
     self.subprocess_mock = self.subprocess_mock_patch.start()
     self.m = mock.Mock()
     Config.reset()
Пример #2
0
 def setUp(self):
     super(type(self), self).setUp()
     self.c1 = Config()
     self.c2 = Config()
Пример #3
0
def setUpModule():
    coloredlogs.install(level="DEBUG")
    Config()

    os.makedirs(test_helm_archive)
    os.environ['HELM_HOME'] = test_files_path