(self)
| 183 | return post_hook(*args, **kwargs) |
| 184 | |
| 185 | def setUp(self): |
| 186 | super().setUp() |
| 187 | |
| 188 | self.config.post_hook = "bar" |
| 189 | filesystem.makedirs(self.config.renewal_post_hooks_dir) |
| 190 | self.dir_hook = os.path.join(self.config.renewal_post_hooks_dir, "foo") |
| 191 | create_hook(self.dir_hook) |
| 192 | |
| 193 | # Reset this value as it may have been modified by past tests |
| 194 | self._reset_post_hook_eventually() |
| 195 | |
| 196 | def tearDown(self): |
| 197 | # Reset this value so it's unmodified for future tests |
nothing calls this directly
no test coverage detected