(self)
| 92 | super().__init__(cmdoptions.trac_env, *args, **kwargs) |
| 93 | |
| 94 | def setup_log(self): |
| 95 | if self._cmdoptions.trac_log_level: |
| 96 | self.config.set("logging", "log_type", "stderr") |
| 97 | self.config.set("logging", "log_level", self._cmdoptions.trac_log_level) |
| 98 | super().setup_log() |
| 99 | else: |
| 100 | # Let the mock object capture (and discard) all method calls. |
| 101 | self.log = Mock() |
| 102 | |
| 103 | # The rest of the methods here are custom and not available on Trac's Environment. |
| 104 |
nothing calls this directly
no outgoing calls
no test coverage detected