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()
def setUp(self): super(type(self), self).setUp() self.c1 = Config() self.c2 = Config()
def setUpModule(): coloredlogs.install(level="DEBUG") Config() os.makedirs(test_helm_archive) os.environ['HELM_HOME'] = test_files_path