Beispiel #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()
Beispiel #2
0
 def setUp(self):
     Config.reset()