| |
@@ -41,11 +41,16 @@
|
| |
self.mock_ClientSession = self.ClientSession_patcher.start()
|
| |
self.koji_session = self.mock_ClientSession.return_value
|
| |
|
| |
+ self.koji_get_profile_module_patcher = patch('koji.get_profile_module')
|
| |
+ self.koji_get_profile_module = self.koji_get_profile_module_patcher.start()
|
| |
+
|
| |
self.get_patcher = patch('requests.get')
|
| |
self.mock_get = self.get_patcher.start()
|
| |
|
| |
def teardown_method(self, method):
|
| |
self.get_patcher.stop()
|
| |
+ self.ClientSession_patcher.stop()
|
| |
+ self.koji_get_profile_module_patcher.stop()
|
| |
os.unlink(self.tag_config_file)
|
| |
|
| |
def write_tag_config_file(self, content):
|
| |